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
@Generated
public interface TransitStopOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe location of the stop expressed in latitude/longitude coordinates.The location of the stop expressed in latitude/longitude coordinates.getName()The name of the transit stop.com.google.protobuf.ByteStringThe name of the transit stop.booleanThe location of the stop expressed in latitude/longitude coordinates.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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;
-