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
@Generated
public interface NavigationInstructionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionInstructions for navigating this step.com.google.protobuf.ByteStringInstructions for navigating this step.Encapsulates the navigation instructions for the current step (for example, turn left, merge, or straight).intEncapsulates the navigation instructions for the current step (for example, turn left, merge, or straight).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
-
getManeuverValue
int getManeuverValue()Encapsulates the navigation instructions for the current step (for example, turn left, merge, or straight). 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 (for example, turn left, merge, or straight). 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.
-