public static interface GtfsRealtime.FeedEntityOrBuilder extends com.google.protobuf.GeneratedMessage.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()
required string id = 1; |
com.google.protobuf.ByteString |
getIdBytes()
required string id = 1; |
boolean |
getIsDeleted()
optional bool is_deleted = 2 [default = false]; |
GtfsRealtime.TripUpdate |
getTripUpdate()
optional .transit_realtime.TripUpdate trip_update = 3; |
GtfsRealtime.TripUpdateOrBuilder |
getTripUpdateOrBuilder()
optional .transit_realtime.TripUpdate trip_update = 3; |
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()
required string id = 1; |
boolean |
hasIsDeleted()
optional bool is_deleted = 2 [default = false]; |
boolean |
hasTripUpdate()
optional .transit_realtime.TripUpdate trip_update = 3; |
boolean |
hasVehicle()
optional .transit_realtime.VehiclePosition vehicle = 4; |
getDefaultInstanceForType, getExtension, getExtension, getExtensionCount, hasExtension
boolean hasId()
required string id = 1;
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).
String getId()
required string id = 1;
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).
com.google.protobuf.ByteString getIdBytes()
required string id = 1;
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).
boolean hasIsDeleted()
optional bool is_deleted = 2 [default = false];
Whether this entity is to be deleted. Relevant only for incremental fetches.
boolean getIsDeleted()
optional bool is_deleted = 2 [default = false];
Whether this entity is to be deleted. Relevant only for incremental fetches.
boolean hasTripUpdate()
optional .transit_realtime.TripUpdate trip_update = 3;
Data about the entity itself. Exactly one of the following fields must be present (unless the entity is being deleted).
GtfsRealtime.TripUpdate getTripUpdate()
optional .transit_realtime.TripUpdate trip_update = 3;
Data about the entity itself. Exactly one of the following fields must be present (unless the entity is being deleted).
GtfsRealtime.TripUpdateOrBuilder getTripUpdateOrBuilder()
optional .transit_realtime.TripUpdate trip_update = 3;
Data about the entity itself. Exactly one of the following fields must be present (unless the entity is being deleted).
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.