public static final class GtfsRealtime.TripUpdate.StopTimeUpdate extends com.google.protobuf.GeneratedMessage.ExtendableMessage<GtfsRealtime.TripUpdate.StopTimeUpdate> implements GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
transit_realtime.TripUpdate.StopTimeUpdate
Realtime update for arrival and/or departure events for a given stop on a trip. Updates can be supplied for both past and future events. The producer is allowed, although not required, to drop past events.
| Modifier and Type | Class and Description |
|---|---|
static class |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder
Protobuf type
transit_realtime.TripUpdate.StopTimeUpdate |
static class |
GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship
Protobuf enum
transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship |
com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWritercom.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
ARRIVAL_FIELD_NUMBER |
static int |
DEPARTURE_FIELD_NUMBER |
static com.google.protobuf.Parser<GtfsRealtime.TripUpdate.StopTimeUpdate> |
PARSER |
static int |
SCHEDULE_RELATIONSHIP_FIELD_NUMBER |
static int |
STOP_ID_FIELD_NUMBER |
static int |
STOP_SEQUENCE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
GtfsRealtime.TripUpdate.StopTimeEvent |
getArrival()
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2; |
GtfsRealtime.TripUpdate.StopTimeEventOrBuilder |
getArrivalOrBuilder()
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2; |
static GtfsRealtime.TripUpdate.StopTimeUpdate |
getDefaultInstance() |
GtfsRealtime.TripUpdate.StopTimeUpdate |
getDefaultInstanceForType() |
GtfsRealtime.TripUpdate.StopTimeEvent |
getDeparture()
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3; |
GtfsRealtime.TripUpdate.StopTimeEventOrBuilder |
getDepartureOrBuilder()
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<GtfsRealtime.TripUpdate.StopTimeUpdate> |
getParserForType() |
GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship |
getScheduleRelationship()
optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED]; |
int |
getSerializedSize() |
String |
getStopId()
optional string stop_id = 4; |
com.google.protobuf.ByteString |
getStopIdBytes()
optional string stop_id = 4; |
int |
getStopSequence()
optional uint32 stop_sequence = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasArrival()
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2; |
boolean |
hasDeparture()
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3; |
boolean |
hasScheduleRelationship()
optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED]; |
boolean |
hasStopId()
optional string stop_id = 4; |
boolean |
hasStopSequence()
optional uint32 stop_sequence = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
newBuilder() |
static GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
newBuilder(GtfsRealtime.TripUpdate.StopTimeUpdate prototype) |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
newBuilderForType() |
protected GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static GtfsRealtime.TripUpdate.StopTimeUpdate |
parseDelimitedFrom(InputStream input) |
static GtfsRealtime.TripUpdate.StopTimeUpdate |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.TripUpdate.StopTimeUpdate |
parseFrom(byte[] data) |
static GtfsRealtime.TripUpdate.StopTimeUpdate |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.TripUpdate.StopTimeUpdate |
parseFrom(com.google.protobuf.ByteString data) |
static GtfsRealtime.TripUpdate.StopTimeUpdate |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.TripUpdate.StopTimeUpdate |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GtfsRealtime.TripUpdate.StopTimeUpdate |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.TripUpdate.StopTimeUpdate |
parseFrom(InputStream input) |
static GtfsRealtime.TripUpdate.StopTimeUpdate |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GtfsRealtime.TripUpdate.StopTimeUpdate.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownFieldgetDescriptorForType, getOneofFieldDescriptor, hasOneof, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtensionequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtensionCount, hasExtensionpublic static com.google.protobuf.Parser<GtfsRealtime.TripUpdate.StopTimeUpdate> PARSER
public static final int STOP_SEQUENCE_FIELD_NUMBER
public static final int STOP_ID_FIELD_NUMBER
public static final int ARRIVAL_FIELD_NUMBER
public static final int DEPARTURE_FIELD_NUMBER
public static final int SCHEDULE_RELATIONSHIP_FIELD_NUMBER
public static GtfsRealtime.TripUpdate.StopTimeUpdate getDefaultInstance()
public GtfsRealtime.TripUpdate.StopTimeUpdate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.TripUpdate.StopTimeUpdate>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<GtfsRealtime.TripUpdate.StopTimeUpdate> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasStopSequence()
optional uint32 stop_sequence = 1;
Must be the same as in stop_times.txt in the corresponding GTFS feed.
hasStopSequence in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilderpublic int getStopSequence()
optional uint32 stop_sequence = 1;
Must be the same as in stop_times.txt in the corresponding GTFS feed.
getStopSequence in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilderpublic boolean hasStopId()
optional string stop_id = 4;
Must be the same as in stops.txt in the corresponding GTFS feed.
hasStopId in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilderpublic String getStopId()
optional string stop_id = 4;
Must be the same as in stops.txt in the corresponding GTFS feed.
getStopId in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilderpublic com.google.protobuf.ByteString getStopIdBytes()
optional string stop_id = 4;
Must be the same as in stops.txt in the corresponding GTFS feed.
getStopIdBytes in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilderpublic boolean hasArrival()
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2;hasArrival in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilderpublic GtfsRealtime.TripUpdate.StopTimeEvent getArrival()
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2;getArrival in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilderpublic GtfsRealtime.TripUpdate.StopTimeEventOrBuilder getArrivalOrBuilder()
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2;getArrivalOrBuilder in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilderpublic boolean hasDeparture()
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3;hasDeparture in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilderpublic GtfsRealtime.TripUpdate.StopTimeEvent getDeparture()
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3;getDeparture in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilderpublic GtfsRealtime.TripUpdate.StopTimeEventOrBuilder getDepartureOrBuilder()
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3;getDepartureOrBuilder in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilderpublic boolean hasScheduleRelationship()
optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED];hasScheduleRelationship in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilderpublic GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship getScheduleRelationship()
optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED];getScheduleRelationship in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.ExtendableMessage<GtfsRealtime.TripUpdate.StopTimeUpdate>public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static GtfsRealtime.TripUpdate.StopTimeUpdate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.TripUpdate.StopTimeUpdate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.TripUpdate.StopTimeUpdate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.TripUpdate.StopTimeUpdate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.TripUpdate.StopTimeUpdate parseFrom(InputStream input) throws IOException
IOExceptionpublic static GtfsRealtime.TripUpdate.StopTimeUpdate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GtfsRealtime.TripUpdate.StopTimeUpdate parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GtfsRealtime.TripUpdate.StopTimeUpdate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GtfsRealtime.TripUpdate.StopTimeUpdate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GtfsRealtime.TripUpdate.StopTimeUpdate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GtfsRealtime.TripUpdate.StopTimeUpdate.Builder newBuilder()
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GtfsRealtime.TripUpdate.StopTimeUpdate.Builder newBuilder(GtfsRealtime.TripUpdate.StopTimeUpdate prototype)
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GtfsRealtime.TripUpdate.StopTimeUpdate.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2018. All rights reserved.