Package com.google.maps.routing.v2
Interface RouteLeg.StepsOverview.MultiModalSegmentOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RouteLeg.StepsOverview.MultiModalSegment
,RouteLeg.StepsOverview.MultiModalSegment.Builder
- Enclosing class:
- RouteLeg.StepsOverview
public static interface RouteLeg.StepsOverview.MultiModalSegmentOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NavigationInstruction
getNavigationInstruction()
NavigationInstruction for the multi-modal segment.NavigationInstructionOrBuilder
getNavigationInstructionOrBuilder()
NavigationInstruction for the multi-modal segment.int
getStepEndIndex()
The corresponding `RouteLegStep` index that is the end of a multi-modal segment.int
getStepStartIndex()
The corresponding `RouteLegStep` index that is the start of a multi-modal segment.RouteTravelMode
getTravelMode()
The travel mode of the multi-modal segment.int
getTravelModeValue()
The travel mode of the multi-modal segment.boolean
hasNavigationInstruction()
NavigationInstruction for the multi-modal segment.boolean
hasStepEndIndex()
The corresponding `RouteLegStep` index that is the end of a multi-modal segment.boolean
hasStepStartIndex()
The corresponding `RouteLegStep` index that is the start of a multi-modal segment.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasStepStartIndex
boolean hasStepStartIndex()
The corresponding `RouteLegStep` index that is the start of a multi-modal segment.
optional int32 step_start_index = 1;
- Returns:
- Whether the stepStartIndex field is set.
-
getStepStartIndex
int getStepStartIndex()
The corresponding `RouteLegStep` index that is the start of a multi-modal segment.
optional int32 step_start_index = 1;
- Returns:
- The stepStartIndex.
-
hasStepEndIndex
boolean hasStepEndIndex()
The corresponding `RouteLegStep` index that is the end of a multi-modal segment.
optional int32 step_end_index = 2;
- Returns:
- Whether the stepEndIndex field is set.
-
getStepEndIndex
int getStepEndIndex()
The corresponding `RouteLegStep` index that is the end of a multi-modal segment.
optional int32 step_end_index = 2;
- Returns:
- The stepEndIndex.
-
hasNavigationInstruction
boolean hasNavigationInstruction()
NavigationInstruction for the multi-modal segment.
.google.maps.routing.v2.NavigationInstruction navigation_instruction = 3;
- Returns:
- Whether the navigationInstruction field is set.
-
getNavigationInstruction
NavigationInstruction getNavigationInstruction()
NavigationInstruction for the multi-modal segment.
.google.maps.routing.v2.NavigationInstruction navigation_instruction = 3;
- Returns:
- The navigationInstruction.
-
getNavigationInstructionOrBuilder
NavigationInstructionOrBuilder getNavigationInstructionOrBuilder()
NavigationInstruction for the multi-modal segment.
.google.maps.routing.v2.NavigationInstruction navigation_instruction = 3;
-
getTravelModeValue
int getTravelModeValue()
The travel mode of the multi-modal segment.
.google.maps.routing.v2.RouteTravelMode travel_mode = 4;
- Returns:
- The enum numeric value on the wire for travelMode.
-
getTravelMode
RouteTravelMode getTravelMode()
The travel mode of the multi-modal segment.
.google.maps.routing.v2.RouteTravelMode travel_mode = 4;
- Returns:
- The travelMode.
-
-