public final class RouteLegStepTransitDetails extends com.google.protobuf.GeneratedMessageV3 implements RouteLegStepTransitDetailsOrBuilder
Additional information for the `RouteLegStep` related to `TRANSIT` routes.Protobuf type
google.maps.routing.v2.RouteLegStepTransitDetails| Modifier and Type | Class and Description |
|---|---|
static class |
RouteLegStepTransitDetails.Builder
Additional information for the `RouteLegStep` related to `TRANSIT` routes.
|
static class |
RouteLegStepTransitDetails.TransitDetailsLocalizedValues
Localized descriptions of values for `RouteTransitDetails`.
|
static interface |
RouteLegStepTransitDetails.TransitDetailsLocalizedValuesOrBuilder |
static class |
RouteLegStepTransitDetails.TransitStopDetails
Details about the transit stops for the `RouteLegStep`.
|
static interface |
RouteLegStepTransitDetails.TransitStopDetailsOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
HEADSIGN_FIELD_NUMBER |
static int |
HEADWAY_FIELD_NUMBER |
static int |
LOCALIZED_VALUES_FIELD_NUMBER |
static int |
STOP_COUNT_FIELD_NUMBER |
static int |
STOP_DETAILS_FIELD_NUMBER |
static int |
TRANSIT_LINE_FIELD_NUMBER |
static int |
TRIP_SHORT_TEXT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RouteLegStepTransitDetails |
getDefaultInstance() |
RouteLegStepTransitDetails |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getHeadsign()
Specifies the direction in which to travel on this line as marked on
the vehicle or at the departure stop.
|
com.google.protobuf.ByteString |
getHeadsignBytes()
Specifies the direction in which to travel on this line as marked on
the vehicle or at the departure stop.
|
com.google.protobuf.Duration |
getHeadway()
Specifies the expected time as a duration between departures from the same
stop at this time.
|
com.google.protobuf.DurationOrBuilder |
getHeadwayOrBuilder()
Specifies the expected time as a duration between departures from the same
stop at this time.
|
RouteLegStepTransitDetails.TransitDetailsLocalizedValues |
getLocalizedValues()
Text representations of properties of the `RouteLegStepTransitDetails`.
|
RouteLegStepTransitDetails.TransitDetailsLocalizedValuesOrBuilder |
getLocalizedValuesOrBuilder()
Text representations of properties of the `RouteLegStepTransitDetails`.
|
com.google.protobuf.Parser<RouteLegStepTransitDetails> |
getParserForType() |
int |
getSerializedSize() |
int |
getStopCount()
The number of stops from the departure to the arrival stop.
|
RouteLegStepTransitDetails.TransitStopDetails |
getStopDetails()
Information about the arrival and departure stops for the step.
|
RouteLegStepTransitDetails.TransitStopDetailsOrBuilder |
getStopDetailsOrBuilder()
Information about the arrival and departure stops for the step.
|
TransitLine |
getTransitLine()
Information about the transit line used in this step.
|
TransitLineOrBuilder |
getTransitLineOrBuilder()
Information about the transit line used in this step.
|
String |
getTripShortText()
The text that appears in schedules and sign boards to identify a transit
trip to passengers.
|
com.google.protobuf.ByteString |
getTripShortTextBytes()
The text that appears in schedules and sign boards to identify a transit
trip to passengers.
|
int |
hashCode() |
boolean |
hasHeadway()
Specifies the expected time as a duration between departures from the same
stop at this time.
|
boolean |
hasLocalizedValues()
Text representations of properties of the `RouteLegStepTransitDetails`.
|
boolean |
hasStopDetails()
Information about the arrival and departure stops for the step.
|
boolean |
hasTransitLine()
Information about the transit line used in this step.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RouteLegStepTransitDetails.Builder |
newBuilder() |
static RouteLegStepTransitDetails.Builder |
newBuilder(RouteLegStepTransitDetails prototype) |
RouteLegStepTransitDetails.Builder |
newBuilderForType() |
protected RouteLegStepTransitDetails.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RouteLegStepTransitDetails |
parseDelimitedFrom(InputStream input) |
static RouteLegStepTransitDetails |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteLegStepTransitDetails |
parseFrom(byte[] data) |
static RouteLegStepTransitDetails |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteLegStepTransitDetails |
parseFrom(ByteBuffer data) |
static RouteLegStepTransitDetails |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteLegStepTransitDetails |
parseFrom(com.google.protobuf.ByteString data) |
static RouteLegStepTransitDetails |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteLegStepTransitDetails |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RouteLegStepTransitDetails |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteLegStepTransitDetails |
parseFrom(InputStream input) |
static RouteLegStepTransitDetails |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RouteLegStepTransitDetails> |
parser() |
RouteLegStepTransitDetails.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int STOP_DETAILS_FIELD_NUMBER
public static final int LOCALIZED_VALUES_FIELD_NUMBER
public static final int HEADSIGN_FIELD_NUMBER
public static final int HEADWAY_FIELD_NUMBER
public static final int TRANSIT_LINE_FIELD_NUMBER
public static final int STOP_COUNT_FIELD_NUMBER
public static final int TRIP_SHORT_TEXT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasStopDetails()
Information about the arrival and departure stops for the step.
.google.maps.routing.v2.RouteLegStepTransitDetails.TransitStopDetails stop_details = 1;
hasStopDetails in interface RouteLegStepTransitDetailsOrBuilderpublic RouteLegStepTransitDetails.TransitStopDetails getStopDetails()
Information about the arrival and departure stops for the step.
.google.maps.routing.v2.RouteLegStepTransitDetails.TransitStopDetails stop_details = 1;
getStopDetails in interface RouteLegStepTransitDetailsOrBuilderpublic RouteLegStepTransitDetails.TransitStopDetailsOrBuilder getStopDetailsOrBuilder()
Information about the arrival and departure stops for the step.
.google.maps.routing.v2.RouteLegStepTransitDetails.TransitStopDetails stop_details = 1;
getStopDetailsOrBuilder in interface RouteLegStepTransitDetailsOrBuilderpublic boolean hasLocalizedValues()
Text representations of properties of the `RouteLegStepTransitDetails`.
.google.maps.routing.v2.RouteLegStepTransitDetails.TransitDetailsLocalizedValues localized_values = 2;
hasLocalizedValues in interface RouteLegStepTransitDetailsOrBuilderpublic RouteLegStepTransitDetails.TransitDetailsLocalizedValues getLocalizedValues()
Text representations of properties of the `RouteLegStepTransitDetails`.
.google.maps.routing.v2.RouteLegStepTransitDetails.TransitDetailsLocalizedValues localized_values = 2;
getLocalizedValues in interface RouteLegStepTransitDetailsOrBuilderpublic RouteLegStepTransitDetails.TransitDetailsLocalizedValuesOrBuilder getLocalizedValuesOrBuilder()
Text representations of properties of the `RouteLegStepTransitDetails`.
.google.maps.routing.v2.RouteLegStepTransitDetails.TransitDetailsLocalizedValues localized_values = 2;
getLocalizedValuesOrBuilder in interface RouteLegStepTransitDetailsOrBuilderpublic String getHeadsign()
Specifies the direction in which to travel on this line as marked on the vehicle or at the departure stop. The direction is often the terminus station.
string headsign = 3;getHeadsign in interface RouteLegStepTransitDetailsOrBuilderpublic com.google.protobuf.ByteString getHeadsignBytes()
Specifies the direction in which to travel on this line as marked on the vehicle or at the departure stop. The direction is often the terminus station.
string headsign = 3;getHeadsignBytes in interface RouteLegStepTransitDetailsOrBuilderpublic boolean hasHeadway()
Specifies the expected time as a duration between departures from the same stop at this time. For example, with a headway seconds value of 600, you would expect a ten minute wait if you should miss your bus.
.google.protobuf.Duration headway = 4;hasHeadway in interface RouteLegStepTransitDetailsOrBuilderpublic com.google.protobuf.Duration getHeadway()
Specifies the expected time as a duration between departures from the same stop at this time. For example, with a headway seconds value of 600, you would expect a ten minute wait if you should miss your bus.
.google.protobuf.Duration headway = 4;getHeadway in interface RouteLegStepTransitDetailsOrBuilderpublic com.google.protobuf.DurationOrBuilder getHeadwayOrBuilder()
Specifies the expected time as a duration between departures from the same stop at this time. For example, with a headway seconds value of 600, you would expect a ten minute wait if you should miss your bus.
.google.protobuf.Duration headway = 4;getHeadwayOrBuilder in interface RouteLegStepTransitDetailsOrBuilderpublic boolean hasTransitLine()
Information about the transit line used in this step.
.google.maps.routing.v2.TransitLine transit_line = 5;hasTransitLine in interface RouteLegStepTransitDetailsOrBuilderpublic TransitLine getTransitLine()
Information about the transit line used in this step.
.google.maps.routing.v2.TransitLine transit_line = 5;getTransitLine in interface RouteLegStepTransitDetailsOrBuilderpublic TransitLineOrBuilder getTransitLineOrBuilder()
Information about the transit line used in this step.
.google.maps.routing.v2.TransitLine transit_line = 5;getTransitLineOrBuilder in interface RouteLegStepTransitDetailsOrBuilderpublic int getStopCount()
The number of stops from the departure to the arrival stop. This count includes the arrival stop, but excludes the departure stop. For example, if your route leaves from Stop A, passes through stops B and C, and arrives at stop D, <code>stop_count</code> returns 3.
int32 stop_count = 6;getStopCount in interface RouteLegStepTransitDetailsOrBuilderpublic String getTripShortText()
The text that appears in schedules and sign boards to identify a transit trip to passengers. The text should uniquely identify a trip within a service day. For example, "538" is the `trip_short_text` of the Amtrak train that leaves San Jose, CA at 15:10 on weekdays to Sacramento, CA.
string trip_short_text = 7;getTripShortText in interface RouteLegStepTransitDetailsOrBuilderpublic com.google.protobuf.ByteString getTripShortTextBytes()
The text that appears in schedules and sign boards to identify a transit trip to passengers. The text should uniquely identify a trip within a service day. For example, "538" is the `trip_short_text` of the Amtrak train that leaves San Jose, CA at 15:10 on weekdays to Sacramento, CA.
string trip_short_text = 7;getTripShortTextBytes in interface RouteLegStepTransitDetailsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RouteLegStepTransitDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteLegStepTransitDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteLegStepTransitDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteLegStepTransitDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteLegStepTransitDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteLegStepTransitDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteLegStepTransitDetails parseFrom(InputStream input) throws IOException
IOExceptionpublic static RouteLegStepTransitDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteLegStepTransitDetails parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RouteLegStepTransitDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteLegStepTransitDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RouteLegStepTransitDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RouteLegStepTransitDetails.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RouteLegStepTransitDetails.Builder newBuilder()
public static RouteLegStepTransitDetails.Builder newBuilder(RouteLegStepTransitDetails prototype)
public RouteLegStepTransitDetails.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RouteLegStepTransitDetails.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RouteLegStepTransitDetails getDefaultInstance()
public static com.google.protobuf.Parser<RouteLegStepTransitDetails> parser()
public com.google.protobuf.Parser<RouteLegStepTransitDetails> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RouteLegStepTransitDetails getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.