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.ExtensionWriter
com.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, parseUnknownField
getDescriptorForType, getOneofFieldDescriptor, hasOneof, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getExtension, getExtension, getExtensionCount, hasExtension
public 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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<GtfsRealtime.TripUpdate.StopTimeUpdate> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public 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.StopTimeUpdateOrBuilder
public 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.StopTimeUpdateOrBuilder
public 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.StopTimeUpdateOrBuilder
public 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.StopTimeUpdateOrBuilder
public 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.StopTimeUpdateOrBuilder
public boolean hasArrival()
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2;
hasArrival
in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
public GtfsRealtime.TripUpdate.StopTimeEvent getArrival()
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2;
getArrival
in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
public GtfsRealtime.TripUpdate.StopTimeEventOrBuilder getArrivalOrBuilder()
optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2;
getArrivalOrBuilder
in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
public boolean hasDeparture()
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3;
hasDeparture
in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
public GtfsRealtime.TripUpdate.StopTimeEvent getDeparture()
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3;
getDeparture
in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
public GtfsRealtime.TripUpdate.StopTimeEventOrBuilder getDepartureOrBuilder()
optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3;
getDepartureOrBuilder
in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
public boolean hasScheduleRelationship()
optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED];
hasScheduleRelationship
in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
public GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship getScheduleRelationship()
optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED];
getScheduleRelationship
in interface GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
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.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static GtfsRealtime.TripUpdate.StopTimeUpdate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static GtfsRealtime.TripUpdate.StopTimeUpdate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static GtfsRealtime.TripUpdate.StopTimeUpdate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static GtfsRealtime.TripUpdate.StopTimeUpdate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static GtfsRealtime.TripUpdate.StopTimeUpdate parseFrom(InputStream input) throws IOException
IOException
public static GtfsRealtime.TripUpdate.StopTimeUpdate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GtfsRealtime.TripUpdate.StopTimeUpdate parseDelimitedFrom(InputStream input) throws IOException
IOException
public static GtfsRealtime.TripUpdate.StopTimeUpdate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GtfsRealtime.TripUpdate.StopTimeUpdate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static GtfsRealtime.TripUpdate.StopTimeUpdate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GtfsRealtime.TripUpdate.StopTimeUpdate.Builder newBuilder()
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static GtfsRealtime.TripUpdate.StopTimeUpdate.Builder newBuilder(GtfsRealtime.TripUpdate.StopTimeUpdate prototype)
public GtfsRealtime.TripUpdate.StopTimeUpdate.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected GtfsRealtime.TripUpdate.StopTimeUpdate.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2018. All rights reserved.