Package com.google.maps.routing.v2
Interface RouteLegStepTransitDetailsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RouteLegStepTransitDetails
,RouteLegStepTransitDetails.Builder
public interface RouteLegStepTransitDetailsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getHeadsign()
Specifies the direction in which to travel on this line as marked on the vehicle or at the departure stop.com.google.protobuf.ByteString
getHeadsignBytes()
Specifies the direction in which to travel on this line as marked on the vehicle or at the departure stop.com.google.protobuf.Duration
getHeadway()
Specifies the expected time as a duration between departures from the same stop at this time.com.google.protobuf.DurationOrBuilder
getHeadwayOrBuilder()
Specifies the expected time as a duration between departures from the same stop at this time.RouteLegStepTransitDetails.TransitDetailsLocalizedValues
getLocalizedValues()
Text representations of properties of the `RouteLegStepTransitDetails`.RouteLegStepTransitDetails.TransitDetailsLocalizedValuesOrBuilder
getLocalizedValuesOrBuilder()
Text representations of properties of the `RouteLegStepTransitDetails`.int
getStopCount()
The number of stops from the departure to the arrival stop.RouteLegStepTransitDetails.TransitStopDetails
getStopDetails()
Information about the arrival and departure stops for the step.RouteLegStepTransitDetails.TransitStopDetailsOrBuilder
getStopDetailsOrBuilder()
Information about the arrival and departure stops for the step.TransitLine
getTransitLine()
Information about the transit line used in this step.TransitLineOrBuilder
getTransitLineOrBuilder()
Information about the transit line used in this step.String
getTripShortText()
The text that appears in schedules and sign boards to identify a transit trip to passengers.com.google.protobuf.ByteString
getTripShortTextBytes()
The text that appears in schedules and sign boards to identify a transit trip to passengers.boolean
hasHeadway()
Specifies the expected time as a duration between departures from the same stop at this time.boolean
hasLocalizedValues()
Text representations of properties of the `RouteLegStepTransitDetails`.boolean
hasStopDetails()
Information about the arrival and departure stops for the step.boolean
hasTransitLine()
Information about the transit line used in this step.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasStopDetails
boolean hasStopDetails()
Information about the arrival and departure stops for the step.
.google.maps.routing.v2.RouteLegStepTransitDetails.TransitStopDetails stop_details = 1;
- Returns:
- Whether the stopDetails field is set.
-
getStopDetails
RouteLegStepTransitDetails.TransitStopDetails getStopDetails()
Information about the arrival and departure stops for the step.
.google.maps.routing.v2.RouteLegStepTransitDetails.TransitStopDetails stop_details = 1;
- Returns:
- The stopDetails.
-
getStopDetailsOrBuilder
RouteLegStepTransitDetails.TransitStopDetailsOrBuilder getStopDetailsOrBuilder()
Information about the arrival and departure stops for the step.
.google.maps.routing.v2.RouteLegStepTransitDetails.TransitStopDetails stop_details = 1;
-
hasLocalizedValues
boolean hasLocalizedValues()
Text representations of properties of the `RouteLegStepTransitDetails`.
.google.maps.routing.v2.RouteLegStepTransitDetails.TransitDetailsLocalizedValues localized_values = 2;
- Returns:
- Whether the localizedValues field is set.
-
getLocalizedValues
RouteLegStepTransitDetails.TransitDetailsLocalizedValues getLocalizedValues()
Text representations of properties of the `RouteLegStepTransitDetails`.
.google.maps.routing.v2.RouteLegStepTransitDetails.TransitDetailsLocalizedValues localized_values = 2;
- Returns:
- The localizedValues.
-
getLocalizedValuesOrBuilder
RouteLegStepTransitDetails.TransitDetailsLocalizedValuesOrBuilder getLocalizedValuesOrBuilder()
Text representations of properties of the `RouteLegStepTransitDetails`.
.google.maps.routing.v2.RouteLegStepTransitDetails.TransitDetailsLocalizedValues localized_values = 2;
-
getHeadsign
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;
- Returns:
- The headsign.
-
getHeadsignBytes
com.google.protobuf.ByteString getHeadsignBytes()
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;
- Returns:
- The bytes for headsign.
-
hasHeadway
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;
- Returns:
- Whether the headway field is set.
-
getHeadway
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;
- Returns:
- The headway.
-
getHeadwayOrBuilder
com.google.protobuf.DurationOrBuilder getHeadwayOrBuilder()
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;
-
hasTransitLine
boolean hasTransitLine()
Information about the transit line used in this step.
.google.maps.routing.v2.TransitLine transit_line = 5;
- Returns:
- Whether the transitLine field is set.
-
getTransitLine
TransitLine getTransitLine()
Information about the transit line used in this step.
.google.maps.routing.v2.TransitLine transit_line = 5;
- Returns:
- The transitLine.
-
getTransitLineOrBuilder
TransitLineOrBuilder getTransitLineOrBuilder()
Information about the transit line used in this step.
.google.maps.routing.v2.TransitLine transit_line = 5;
-
getStopCount
int getStopCount()
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;
- Returns:
- The stopCount.
-
getTripShortText
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;
- Returns:
- The tripShortText.
-
getTripShortTextBytes
com.google.protobuf.ByteString getTripShortTextBytes()
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;
- Returns:
- The bytes for tripShortText.
-
-