public static interface GtfsRealtime.FeedEntityOrBuilder extends com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<GtfsRealtime.FeedEntity>
| Modifier and Type | Method and Description |
|---|---|
GtfsRealtime.Alert |
getAlert()
optional .transit_realtime.Alert alert = 5; |
GtfsRealtime.AlertOrBuilder |
getAlertOrBuilder()
optional .transit_realtime.Alert alert = 5; |
String |
getId()
The ids are used only to provide incrementality support.
|
com.google.protobuf.ByteString |
getIdBytes()
The ids are used only to provide incrementality support.
|
boolean |
getIsDeleted()
Whether this entity is to be deleted.
|
GtfsRealtime.TripUpdate |
getTripUpdate()
Data about the entity itself.
|
GtfsRealtime.TripUpdateOrBuilder |
getTripUpdateOrBuilder()
Data about the entity itself.
|
GtfsRealtime.VehiclePosition |
getVehicle()
optional .transit_realtime.VehiclePosition vehicle = 4; |
GtfsRealtime.VehiclePositionOrBuilder |
getVehicleOrBuilder()
optional .transit_realtime.VehiclePosition vehicle = 4; |
boolean |
hasAlert()
optional .transit_realtime.Alert alert = 5; |
boolean |
hasId()
The ids are used only to provide incrementality support.
|
boolean |
hasIsDeleted()
Whether this entity is to be deleted.
|
boolean |
hasTripUpdate()
Data about the entity itself.
|
boolean |
hasVehicle()
optional .transit_realtime.VehiclePosition vehicle = 4; |
getDefaultInstanceForType, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionboolean hasId()
The ids are used only to provide incrementality support. The id should be unique within a FeedMessage. Consequent FeedMessages may contain FeedEntities with the same id. In case of a DIFFERENTIAL update the new FeedEntity with some id will replace the old FeedEntity with the same id (or delete it - see is_deleted below). The actual GTFS entities (e.g. stations, routes, trips) referenced by the feed must be specified by explicit selectors (see EntitySelector below for more info).
required string id = 1;String getId()
The ids are used only to provide incrementality support. The id should be unique within a FeedMessage. Consequent FeedMessages may contain FeedEntities with the same id. In case of a DIFFERENTIAL update the new FeedEntity with some id will replace the old FeedEntity with the same id (or delete it - see is_deleted below). The actual GTFS entities (e.g. stations, routes, trips) referenced by the feed must be specified by explicit selectors (see EntitySelector below for more info).
required string id = 1;com.google.protobuf.ByteString getIdBytes()
The ids are used only to provide incrementality support. The id should be unique within a FeedMessage. Consequent FeedMessages may contain FeedEntities with the same id. In case of a DIFFERENTIAL update the new FeedEntity with some id will replace the old FeedEntity with the same id (or delete it - see is_deleted below). The actual GTFS entities (e.g. stations, routes, trips) referenced by the feed must be specified by explicit selectors (see EntitySelector below for more info).
required string id = 1;boolean hasIsDeleted()
Whether this entity is to be deleted. Relevant only for incremental fetches.
optional bool is_deleted = 2 [default = false];boolean getIsDeleted()
Whether this entity is to be deleted. Relevant only for incremental fetches.
optional bool is_deleted = 2 [default = false];boolean hasTripUpdate()
Data about the entity itself. Exactly one of the following fields must be present (unless the entity is being deleted).
optional .transit_realtime.TripUpdate trip_update = 3;GtfsRealtime.TripUpdate getTripUpdate()
Data about the entity itself. Exactly one of the following fields must be present (unless the entity is being deleted).
optional .transit_realtime.TripUpdate trip_update = 3;GtfsRealtime.TripUpdateOrBuilder getTripUpdateOrBuilder()
Data about the entity itself. Exactly one of the following fields must be present (unless the entity is being deleted).
optional .transit_realtime.TripUpdate trip_update = 3;boolean hasVehicle()
optional .transit_realtime.VehiclePosition vehicle = 4;GtfsRealtime.VehiclePosition getVehicle()
optional .transit_realtime.VehiclePosition vehicle = 4;GtfsRealtime.VehiclePositionOrBuilder getVehicleOrBuilder()
optional .transit_realtime.VehiclePosition vehicle = 4;boolean hasAlert()
optional .transit_realtime.Alert alert = 5;GtfsRealtime.Alert getAlert()
optional .transit_realtime.Alert alert = 5;GtfsRealtime.AlertOrBuilder getAlertOrBuilder()
optional .transit_realtime.Alert alert = 5;Copyright © 2019. All rights reserved.