Package com.google.maps.routing.v2
Interface NavigationInstructionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NavigationInstruction
,NavigationInstruction.Builder
public interface NavigationInstructionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getInstructions()
Instructions for navigating this step.com.google.protobuf.ByteString
getInstructionsBytes()
Instructions for navigating this step.Maneuver
getManeuver()
Encapsulates the navigation instructions for the current step (e.g., turn left, merge, straight, etc.).int
getManeuverValue()
Encapsulates the navigation instructions for the current step (e.g., turn left, merge, straight, etc.).-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getManeuverValue
int getManeuverValue()
Encapsulates the navigation instructions for the current step (e.g., turn left, merge, straight, etc.). This field determines which icon to display.
.google.maps.routing.v2.Maneuver maneuver = 1;
- Returns:
- The enum numeric value on the wire for maneuver.
-
getManeuver
Maneuver getManeuver()
Encapsulates the navigation instructions for the current step (e.g., turn left, merge, straight, etc.). This field determines which icon to display.
.google.maps.routing.v2.Maneuver maneuver = 1;
- Returns:
- The maneuver.
-
getInstructions
String getInstructions()
Instructions for navigating this step.
string instructions = 2;
- Returns:
- The instructions.
-
getInstructionsBytes
com.google.protobuf.ByteString getInstructionsBytes()
Instructions for navigating this step.
string instructions = 2;
- Returns:
- The bytes for instructions.
-
-