com.google.transit.realtime
Interface GtfsRealtime.FeedEntityOrBuilder

All Superinterfaces:
com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.FeedEntity>, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GtfsRealtime.FeedEntity, GtfsRealtime.FeedEntity.Builder
Enclosing class:
GtfsRealtime

public static interface GtfsRealtime.FeedEntityOrBuilder
extends com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.FeedEntity>


Method Summary
 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;
 
Methods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder
getDefaultInstanceForType, getExtension, getExtension, getExtensionCount, hasExtension
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
 
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
 

Method Detail

hasId

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).
 


getId

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).
 


getIdBytes

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).
 


hasIsDeleted

boolean hasIsDeleted()
optional bool is_deleted = 2 [default = false];
 Whether this entity is to be deleted. Relevant only for incremental
 fetches.
 


getIsDeleted

boolean getIsDeleted()
optional bool is_deleted = 2 [default = false];
 Whether this entity is to be deleted. Relevant only for incremental
 fetches.
 


hasTripUpdate

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).
 


getTripUpdate

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).
 


getTripUpdateOrBuilder

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).
 


hasVehicle

boolean hasVehicle()
optional .transit_realtime.VehiclePosition vehicle = 4;


getVehicle

GtfsRealtime.VehiclePosition getVehicle()
optional .transit_realtime.VehiclePosition vehicle = 4;


getVehicleOrBuilder

GtfsRealtime.VehiclePositionOrBuilder getVehicleOrBuilder()
optional .transit_realtime.VehiclePosition vehicle = 4;


hasAlert

boolean hasAlert()
optional .transit_realtime.Alert alert = 5;


getAlert

GtfsRealtime.Alert getAlert()
optional .transit_realtime.Alert alert = 5;


getAlertOrBuilder

GtfsRealtime.AlertOrBuilder getAlertOrBuilder()
optional .transit_realtime.Alert alert = 5;



Copyright © 2015. All Rights Reserved.