com.google.maps.routing.v2.RouteLegStepOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for 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
// Protobuf Java Version: 3.25.3
package com.google.maps.routing.v2;
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
* value.
*
*
* .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
* value.
*
*
* .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
* value.
*
*
* .google.protobuf.Duration static_duration = 2;
*/
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.
*
*
* .google.maps.routing.v2.Polyline polyline = 3;
*/
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.
*
*
* .google.maps.routing.v2.Location start_location = 4;
*/
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.
*
*
* .google.maps.routing.v2.Location end_location = 5;
*/
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.
*
*
* .google.maps.routing.v2.NavigationInstruction navigation_instruction = 6;
*/
com.google.maps.routing.v2.NavigationInstructionOrBuilder getNavigationInstructionOrBuilder();
/**
*
*
*
* Contains the additional information that the user should be informed
* about, such as possible traffic zone restrictions, on a leg step.
*
*
* .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
*
* @return Whether the travelAdvisory field is set.
*/
boolean hasTravelAdvisory();
/**
*
*
*
* Contains the additional information that the user should be informed
* about, such as possible traffic zone restrictions, on a leg step.
*
*
* .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
*
* @return The travelAdvisory.
*/
com.google.maps.routing.v2.RouteLegStepTravelAdvisory getTravelAdvisory();
/**
*
*
*
* Contains the additional information that the user should be informed
* about, such as possible traffic zone restrictions, on a leg step.
*
*
* .google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;
*/
com.google.maps.routing.v2.RouteLegStepTravelAdvisoryOrBuilder getTravelAdvisoryOrBuilder();
/**
*
*
*
* Text representations of properties of the `RouteLegStep`.
*
*
* .google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues localized_values = 8;
*
*
* @return Whether the localizedValues field is set.
*/
boolean hasLocalizedValues();
/**
*
*
*
* Text representations of properties of the `RouteLegStep`.
*
*
* .google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues localized_values = 8;
*
*
* @return The localizedValues.
*/
com.google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues getLocalizedValues();
/**
*
*
*
* Text representations of properties of the `RouteLegStep`.
*
*
* .google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues localized_values = 8;
*
*/
com.google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValuesOrBuilder
getLocalizedValuesOrBuilder();
/**
*
*
*
* Details pertaining to this step if the travel mode is `TRANSIT`.
*
*
* .google.maps.routing.v2.RouteLegStepTransitDetails transit_details = 9;
*
* @return Whether the transitDetails field is set.
*/
boolean hasTransitDetails();
/**
*
*
*
* Details pertaining to this step if the travel mode is `TRANSIT`.
*
*
* .google.maps.routing.v2.RouteLegStepTransitDetails transit_details = 9;
*
* @return The transitDetails.
*/
com.google.maps.routing.v2.RouteLegStepTransitDetails getTransitDetails();
/**
*
*
*
* Details pertaining to this step if the travel mode is `TRANSIT`.
*
*
* .google.maps.routing.v2.RouteLegStepTransitDetails transit_details = 9;
*/
com.google.maps.routing.v2.RouteLegStepTransitDetailsOrBuilder getTransitDetailsOrBuilder();
/**
*
*
*
* The travel mode used for this step.
*
*
* .google.maps.routing.v2.RouteTravelMode travel_mode = 10;
*
* @return The enum numeric value on the wire for travelMode.
*/
int getTravelModeValue();
/**
*
*
*
* The travel mode used for this step.
*
*
* .google.maps.routing.v2.RouteTravelMode travel_mode = 10;
*
* @return The travelMode.
*/
com.google.maps.routing.v2.RouteTravelMode getTravelMode();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy