com.google.maps.routing.v2.RouteLegStepTransitDetailsOrBuilder 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 RouteLegStepTransitDetailsOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.maps.routing.v2.RouteLegStepTransitDetails)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Information about the arrival and departure stops for the step.
*
*
* .google.maps.routing.v2.RouteLegStepTransitDetails.TransitStopDetails stop_details = 1;
*
*
* @return Whether the stopDetails field is set.
*/
boolean hasStopDetails();
/**
*
*
*
* Information about the arrival and departure stops for the step.
*
*
* .google.maps.routing.v2.RouteLegStepTransitDetails.TransitStopDetails stop_details = 1;
*
*
* @return The stopDetails.
*/
com.google.maps.routing.v2.RouteLegStepTransitDetails.TransitStopDetails getStopDetails();
/**
*
*
*
* Information about the arrival and departure stops for the step.
*
*
* .google.maps.routing.v2.RouteLegStepTransitDetails.TransitStopDetails stop_details = 1;
*
*/
com.google.maps.routing.v2.RouteLegStepTransitDetails.TransitStopDetailsOrBuilder
getStopDetailsOrBuilder();
/**
*
*
*
* Text representations of properties of the `RouteLegStepTransitDetails`.
*
*
*
* .google.maps.routing.v2.RouteLegStepTransitDetails.TransitDetailsLocalizedValues localized_values = 2;
*
*
* @return Whether the localizedValues field is set.
*/
boolean hasLocalizedValues();
/**
*
*
*
* Text representations of properties of the `RouteLegStepTransitDetails`.
*
*
*
* .google.maps.routing.v2.RouteLegStepTransitDetails.TransitDetailsLocalizedValues localized_values = 2;
*
*
* @return The localizedValues.
*/
com.google.maps.routing.v2.RouteLegStepTransitDetails.TransitDetailsLocalizedValues
getLocalizedValues();
/**
*
*
*
* Text representations of properties of the `RouteLegStepTransitDetails`.
*
*
*
* .google.maps.routing.v2.RouteLegStepTransitDetails.TransitDetailsLocalizedValues localized_values = 2;
*
*/
com.google.maps.routing.v2.RouteLegStepTransitDetails.TransitDetailsLocalizedValuesOrBuilder
getLocalizedValuesOrBuilder();
/**
*
*
*
* Specifies the direction in which to travel on this line as marked on
* the vehicle or at the departure stop. The direction is often the terminus
* station.
*
*
* string headsign = 3;
*
* @return The headsign.
*/
java.lang.String getHeadsign();
/**
*
*
*
* Specifies the direction in which to travel on this line as marked on
* the vehicle or at the departure stop. The direction is often the terminus
* station.
*
*
* string headsign = 3;
*
* @return The bytes for headsign.
*/
com.google.protobuf.ByteString getHeadsignBytes();
/**
*
*
*
* Specifies the expected time as a duration between departures from the same
* stop at this time. For example, with a headway seconds value of 600, you
* would expect a ten minute wait if you should miss your bus.
*
*
* .google.protobuf.Duration headway = 4;
*
* @return Whether the headway field is set.
*/
boolean hasHeadway();
/**
*
*
*
* Specifies the expected time as a duration between departures from the same
* stop at this time. For example, with a headway seconds value of 600, you
* would expect a ten minute wait if you should miss your bus.
*
*
* .google.protobuf.Duration headway = 4;
*
* @return The headway.
*/
com.google.protobuf.Duration getHeadway();
/**
*
*
*
* Specifies the expected time as a duration between departures from the same
* stop at this time. For example, with a headway seconds value of 600, you
* would expect a ten minute wait if you should miss your bus.
*
*
* .google.protobuf.Duration headway = 4;
*/
com.google.protobuf.DurationOrBuilder getHeadwayOrBuilder();
/**
*
*
*
* Information about the transit line used in this step.
*
*
* .google.maps.routing.v2.TransitLine transit_line = 5;
*
* @return Whether the transitLine field is set.
*/
boolean hasTransitLine();
/**
*
*
*
* Information about the transit line used in this step.
*
*
* .google.maps.routing.v2.TransitLine transit_line = 5;
*
* @return The transitLine.
*/
com.google.maps.routing.v2.TransitLine getTransitLine();
/**
*
*
*
* Information about the transit line used in this step.
*
*
* .google.maps.routing.v2.TransitLine transit_line = 5;
*/
com.google.maps.routing.v2.TransitLineOrBuilder getTransitLineOrBuilder();
/**
*
*
*
* The number of stops from the departure to the arrival stop. This count
* includes the arrival stop, but excludes the departure stop. For example, if
* your route leaves from Stop A, passes through stops B and C, and arrives at
* stop D, stop_count will return 3.
*
*
* int32 stop_count = 6;
*
* @return The stopCount.
*/
int getStopCount();
/**
*
*
*
* The text that appears in schedules and sign boards to identify a transit
* trip to passengers. The text should uniquely identify a trip within a
* service day. For example, "538" is the `trip_short_text` of the Amtrak
* train that leaves San Jose, CA at 15:10 on weekdays to Sacramento, CA.
*
*
* string trip_short_text = 7;
*
* @return The tripShortText.
*/
java.lang.String getTripShortText();
/**
*
*
*
* The text that appears in schedules and sign boards to identify a transit
* trip to passengers. The text should uniquely identify a trip within a
* service day. For example, "538" is the `trip_short_text` of the Amtrak
* train that leaves San Jose, CA at 15:10 on weekdays to Sacramento, CA.
*
*
* string trip_short_text = 7;
*
* @return The bytes for tripShortText.
*/
com.google.protobuf.ByteString getTripShortTextBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy