public static final class GtfsRealtime.FeedEntity extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<GtfsRealtime.FeedEntity> implements GtfsRealtime.FeedEntityOrBuilder
A definition (or update) of an entity in the transit feed.Protobuf type
transit_realtime.FeedEntity| Modifier and Type | Class and Description |
|---|---|
static class |
GtfsRealtime.FeedEntity.Builder
A definition (or update) of an entity in the transit feed.
|
com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWritercom.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ALERT_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
IS_DELETED_FIELD_NUMBER |
static com.google.protobuf.Parser<GtfsRealtime.FeedEntity> |
PARSER
Deprecated.
|
static int |
TRIP_UPDATE_FIELD_NUMBER |
static int |
VEHICLE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
GtfsRealtime.Alert |
getAlert()
optional .transit_realtime.Alert alert = 5; |
GtfsRealtime.AlertOrBuilder |
getAlertOrBuilder()
optional .transit_realtime.Alert alert = 5; |
static GtfsRealtime.FeedEntity |
getDefaultInstance() |
GtfsRealtime.FeedEntity |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<GtfsRealtime.FeedEntity> |
getParserForType() |
int |
getSerializedSize() |
GtfsRealtime.TripUpdate |
getTripUpdate()
Data about the entity itself.
|
GtfsRealtime.TripUpdateOrBuilder |
getTripUpdateOrBuilder()
Data about the entity itself.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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; |
int |
hashCode() |
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; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GtfsRealtime.FeedEntity.Builder |
newBuilder() |
static GtfsRealtime.FeedEntity.Builder |
newBuilder(GtfsRealtime.FeedEntity prototype) |
GtfsRealtime.FeedEntity.Builder |
newBuilderForType() |
protected GtfsRealtime.FeedEntity.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static GtfsRealtime.FeedEntity |
parseDelimitedFrom(InputStream input) |
static GtfsRealtime.FeedEntity |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.FeedEntity |
parseFrom(byte[] data) |
static GtfsRealtime.FeedEntity |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.FeedEntity |
parseFrom(ByteBuffer data) |
static GtfsRealtime.FeedEntity |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.FeedEntity |
parseFrom(com.google.protobuf.ByteString data) |
static GtfsRealtime.FeedEntity |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.FeedEntity |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GtfsRealtime.FeedEntity |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.FeedEntity |
parseFrom(InputStream input) |
static GtfsRealtime.FeedEntity |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GtfsRealtime.FeedEntity> |
parser() |
GtfsRealtime.FeedEntity.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField, parseUnknownFieldProto3canUseUnsafe, computeStringSize, computeStringSizeNoTag, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionpublic static final int ID_FIELD_NUMBER
public static final int IS_DELETED_FIELD_NUMBER
public static final int TRIP_UPDATE_FIELD_NUMBER
public static final int VEHICLE_FIELD_NUMBER
public static final int ALERT_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<GtfsRealtime.FeedEntity> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean 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;hasId in interface GtfsRealtime.FeedEntityOrBuilderpublic 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;getId in interface GtfsRealtime.FeedEntityOrBuilderpublic 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;getIdBytes in interface GtfsRealtime.FeedEntityOrBuilderpublic boolean hasIsDeleted()
Whether this entity is to be deleted. Relevant only for incremental fetches.
optional bool is_deleted = 2 [default = false];hasIsDeleted in interface GtfsRealtime.FeedEntityOrBuilderpublic boolean getIsDeleted()
Whether this entity is to be deleted. Relevant only for incremental fetches.
optional bool is_deleted = 2 [default = false];getIsDeleted in interface GtfsRealtime.FeedEntityOrBuilderpublic 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;hasTripUpdate in interface GtfsRealtime.FeedEntityOrBuilderpublic 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;getTripUpdate in interface GtfsRealtime.FeedEntityOrBuilderpublic 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;getTripUpdateOrBuilder in interface GtfsRealtime.FeedEntityOrBuilderpublic boolean hasVehicle()
optional .transit_realtime.VehiclePosition vehicle = 4;hasVehicle in interface GtfsRealtime.FeedEntityOrBuilderpublic GtfsRealtime.VehiclePosition getVehicle()
optional .transit_realtime.VehiclePosition vehicle = 4;getVehicle in interface GtfsRealtime.FeedEntityOrBuilderpublic GtfsRealtime.VehiclePositionOrBuilder getVehicleOrBuilder()
optional .transit_realtime.VehiclePosition vehicle = 4;getVehicleOrBuilder in interface GtfsRealtime.FeedEntityOrBuilderpublic boolean hasAlert()
optional .transit_realtime.Alert alert = 5;hasAlert in interface GtfsRealtime.FeedEntityOrBuilderpublic GtfsRealtime.Alert getAlert()
optional .transit_realtime.Alert alert = 5;getAlert in interface GtfsRealtime.FeedEntityOrBuilderpublic GtfsRealtime.AlertOrBuilder getAlertOrBuilder()
optional .transit_realtime.Alert alert = 5;getAlertOrBuilder in interface GtfsRealtime.FeedEntityOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.ExtendableMessage<GtfsRealtime.FeedEntity>public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static GtfsRealtime.FeedEntity parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.FeedEntity parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.FeedEntity parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.FeedEntity parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.FeedEntity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.FeedEntity parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.FeedEntity parseFrom(InputStream input) throws IOException
IOExceptionpublic static GtfsRealtime.FeedEntity parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GtfsRealtime.FeedEntity parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GtfsRealtime.FeedEntity parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GtfsRealtime.FeedEntity parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GtfsRealtime.FeedEntity parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GtfsRealtime.FeedEntity.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GtfsRealtime.FeedEntity.Builder newBuilder()
public static GtfsRealtime.FeedEntity.Builder newBuilder(GtfsRealtime.FeedEntity prototype)
public GtfsRealtime.FeedEntity.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GtfsRealtime.FeedEntity.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static GtfsRealtime.FeedEntity getDefaultInstance()
public static com.google.protobuf.Parser<GtfsRealtime.FeedEntity> parser()
public com.google.protobuf.Parser<GtfsRealtime.FeedEntity> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public GtfsRealtime.FeedEntity getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<GtfsRealtime.FeedEntity>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019. All rights reserved.