Package com.google.maps.routing.v2
Class RouteLeg.StepsOverview.MultiModalSegment
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.maps.routing.v2.RouteLeg.StepsOverview.MultiModalSegment
- All Implemented Interfaces:
RouteLeg.StepsOverview.MultiModalSegmentOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- RouteLeg.StepsOverview
public static final class RouteLeg.StepsOverview.MultiModalSegment
extends com.google.protobuf.GeneratedMessage
implements RouteLeg.StepsOverview.MultiModalSegmentOrBuilder
Provides summarized information about different multi-modal segments of the `RouteLeg.steps`. A multi-modal segment is defined as one or more contiguous `RouteLegStep` that have the same `RouteTravelMode`. This field is not populated if the `RouteLeg` does not contain any multi-modal segments in the steps.Protobuf type
google.maps.routing.v2.RouteLeg.StepsOverview.MultiModalSegment- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProvides summarized information about different multi-modal segments of the `RouteLeg.steps`.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic final com.google.protobuf.Descriptors.DescriptorNavigationInstruction for the multi-modal segment.NavigationInstruction for the multi-modal segment.com.google.protobuf.Parser<RouteLeg.StepsOverview.MultiModalSegment>intintThe corresponding `RouteLegStep` index that is the end of a multi-modal segment.intThe corresponding `RouteLegStep` index that is the start of a multi-modal segment.The travel mode of the multi-modal segment.intThe travel mode of the multi-modal segment.inthashCode()booleanNavigationInstruction for the multi-modal segment.booleanThe corresponding `RouteLegStep` index that is the end of a multi-modal segment.booleanThe corresponding `RouteLegStep` index that is the start of a multi-modal segment.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RouteLeg.StepsOverview.MultiModalSegment>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
STEP_START_INDEX_FIELD_NUMBER
public static final int STEP_START_INDEX_FIELD_NUMBER- See Also:
-
STEP_END_INDEX_FIELD_NUMBER
public static final int STEP_END_INDEX_FIELD_NUMBER- See Also:
-
NAVIGATION_INSTRUCTION_FIELD_NUMBER
public static final int NAVIGATION_INSTRUCTION_FIELD_NUMBER- See Also:
-
TRAVEL_MODE_FIELD_NUMBER
public static final int TRAVEL_MODE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasStepStartIndex
public boolean hasStepStartIndex()The corresponding `RouteLegStep` index that is the start of a multi-modal segment.
optional int32 step_start_index = 1;- Specified by:
hasStepStartIndexin interfaceRouteLeg.StepsOverview.MultiModalSegmentOrBuilder- Returns:
- Whether the stepStartIndex field is set.
-
getStepStartIndex
public int getStepStartIndex()The corresponding `RouteLegStep` index that is the start of a multi-modal segment.
optional int32 step_start_index = 1;- Specified by:
getStepStartIndexin interfaceRouteLeg.StepsOverview.MultiModalSegmentOrBuilder- Returns:
- The stepStartIndex.
-
hasStepEndIndex
public boolean hasStepEndIndex()The corresponding `RouteLegStep` index that is the end of a multi-modal segment.
optional int32 step_end_index = 2;- Specified by:
hasStepEndIndexin interfaceRouteLeg.StepsOverview.MultiModalSegmentOrBuilder- Returns:
- Whether the stepEndIndex field is set.
-
getStepEndIndex
public int getStepEndIndex()The corresponding `RouteLegStep` index that is the end of a multi-modal segment.
optional int32 step_end_index = 2;- Specified by:
getStepEndIndexin interfaceRouteLeg.StepsOverview.MultiModalSegmentOrBuilder- Returns:
- The stepEndIndex.
-
getTravelModeValue
public int getTravelModeValue()The travel mode of the multi-modal segment.
.google.maps.routing.v2.RouteTravelMode travel_mode = 4;- Specified by:
getTravelModeValuein interfaceRouteLeg.StepsOverview.MultiModalSegmentOrBuilder- Returns:
- The enum numeric value on the wire for travelMode.
-
getTravelMode
The travel mode of the multi-modal segment.
.google.maps.routing.v2.RouteTravelMode travel_mode = 4;- Specified by:
getTravelModein interfaceRouteLeg.StepsOverview.MultiModalSegmentOrBuilder- Returns:
- The travelMode.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RouteLeg.StepsOverview.MultiModalSegment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteLeg.StepsOverview.MultiModalSegment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteLeg.StepsOverview.MultiModalSegment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteLeg.StepsOverview.MultiModalSegment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteLeg.StepsOverview.MultiModalSegment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteLeg.StepsOverview.MultiModalSegment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteLeg.StepsOverview.MultiModalSegment parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RouteLeg.StepsOverview.MultiModalSegment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static RouteLeg.StepsOverview.MultiModalSegment parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static RouteLeg.StepsOverview.MultiModalSegment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RouteLeg.StepsOverview.MultiModalSegment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RouteLeg.StepsOverview.MultiModalSegment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static RouteLeg.StepsOverview.MultiModalSegment.Builder newBuilder(RouteLeg.StepsOverview.MultiModalSegment prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RouteLeg.StepsOverview.MultiModalSegment.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-