Package com.google.maps.routing.v2
Interface TransitStopOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TransitStop
,TransitStop.Builder
public interface TransitStopOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Location
getLocation()
The location of the stop expressed in latitude/longitude coordinates.LocationOrBuilder
getLocationOrBuilder()
The location of the stop expressed in latitude/longitude coordinates.String
getName()
The name of the transit stop.com.google.protobuf.ByteString
getNameBytes()
The name of the transit stop.boolean
hasLocation()
The location of the stop expressed in latitude/longitude coordinates.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The name of the transit stop.
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name of the transit stop.
string name = 1;
- Returns:
- The bytes for name.
-
hasLocation
boolean hasLocation()
The location of the stop expressed in latitude/longitude coordinates.
.google.maps.routing.v2.Location location = 2;
- Returns:
- Whether the location field is set.
-
getLocation
Location getLocation()
The location of the stop expressed in latitude/longitude coordinates.
.google.maps.routing.v2.Location location = 2;
- Returns:
- The location.
-
getLocationOrBuilder
LocationOrBuilder getLocationOrBuilder()
The location of the stop expressed in latitude/longitude coordinates.
.google.maps.routing.v2.Location location = 2;
-
-