public static final class GtfsRealtime.FeedHeader extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<GtfsRealtime.FeedHeader> implements GtfsRealtime.FeedHeaderOrBuilder
Metadata about a feed, included in feed messages.Protobuf type
transit_realtime.FeedHeader| Modifier and Type | Class and Description |
|---|---|
static class |
GtfsRealtime.FeedHeader.Builder
Metadata about a feed, included in feed messages.
|
static class |
GtfsRealtime.FeedHeader.Incrementality
Determines whether the current fetch is incremental.
|
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 |
GTFS_REALTIME_VERSION_FIELD_NUMBER |
static int |
INCREMENTALITY_FIELD_NUMBER |
static com.google.protobuf.Parser<GtfsRealtime.FeedHeader> |
PARSER
Deprecated.
|
static int |
TIMESTAMP_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static GtfsRealtime.FeedHeader |
getDefaultInstance() |
GtfsRealtime.FeedHeader |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getGtfsRealtimeVersion()
Version of the feed specification.
|
com.google.protobuf.ByteString |
getGtfsRealtimeVersionBytes()
Version of the feed specification.
|
GtfsRealtime.FeedHeader.Incrementality |
getIncrementality()
optional .transit_realtime.FeedHeader.Incrementality incrementality = 2 [default = FULL_DATASET]; |
com.google.protobuf.Parser<GtfsRealtime.FeedHeader> |
getParserForType() |
int |
getSerializedSize() |
long |
getTimestamp()
This timestamp identifies the moment when the content of this feed has been
created (in server time).
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasGtfsRealtimeVersion()
Version of the feed specification.
|
int |
hashCode() |
boolean |
hasIncrementality()
optional .transit_realtime.FeedHeader.Incrementality incrementality = 2 [default = FULL_DATASET]; |
boolean |
hasTimestamp()
This timestamp identifies the moment when the content of this feed has been
created (in server time).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GtfsRealtime.FeedHeader.Builder |
newBuilder() |
static GtfsRealtime.FeedHeader.Builder |
newBuilder(GtfsRealtime.FeedHeader prototype) |
GtfsRealtime.FeedHeader.Builder |
newBuilderForType() |
protected GtfsRealtime.FeedHeader.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static GtfsRealtime.FeedHeader |
parseDelimitedFrom(InputStream input) |
static GtfsRealtime.FeedHeader |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.FeedHeader |
parseFrom(byte[] data) |
static GtfsRealtime.FeedHeader |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.FeedHeader |
parseFrom(ByteBuffer data) |
static GtfsRealtime.FeedHeader |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.FeedHeader |
parseFrom(com.google.protobuf.ByteString data) |
static GtfsRealtime.FeedHeader |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.FeedHeader |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GtfsRealtime.FeedHeader |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.FeedHeader |
parseFrom(InputStream input) |
static GtfsRealtime.FeedHeader |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GtfsRealtime.FeedHeader> |
parser() |
GtfsRealtime.FeedHeader.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 GTFS_REALTIME_VERSION_FIELD_NUMBER
public static final int INCREMENTALITY_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<GtfsRealtime.FeedHeader> 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 hasGtfsRealtimeVersion()
Version of the feed specification. The current version is 2.0. Valid versions are "2.0", "1.0".
required string gtfs_realtime_version = 1;hasGtfsRealtimeVersion in interface GtfsRealtime.FeedHeaderOrBuilderpublic String getGtfsRealtimeVersion()
Version of the feed specification. The current version is 2.0. Valid versions are "2.0", "1.0".
required string gtfs_realtime_version = 1;getGtfsRealtimeVersion in interface GtfsRealtime.FeedHeaderOrBuilderpublic com.google.protobuf.ByteString getGtfsRealtimeVersionBytes()
Version of the feed specification. The current version is 2.0. Valid versions are "2.0", "1.0".
required string gtfs_realtime_version = 1;getGtfsRealtimeVersionBytes in interface GtfsRealtime.FeedHeaderOrBuilderpublic boolean hasIncrementality()
optional .transit_realtime.FeedHeader.Incrementality incrementality = 2 [default = FULL_DATASET];hasIncrementality in interface GtfsRealtime.FeedHeaderOrBuilderpublic GtfsRealtime.FeedHeader.Incrementality getIncrementality()
optional .transit_realtime.FeedHeader.Incrementality incrementality = 2 [default = FULL_DATASET];getIncrementality in interface GtfsRealtime.FeedHeaderOrBuilderpublic boolean hasTimestamp()
This timestamp identifies the moment when the content of this feed has been created (in server time). In POSIX time (i.e., number of seconds since January 1st 1970 00:00:00 UTC).
optional uint64 timestamp = 3;hasTimestamp in interface GtfsRealtime.FeedHeaderOrBuilderpublic long getTimestamp()
This timestamp identifies the moment when the content of this feed has been created (in server time). In POSIX time (i.e., number of seconds since January 1st 1970 00:00:00 UTC).
optional uint64 timestamp = 3;getTimestamp in interface GtfsRealtime.FeedHeaderOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.ExtendableMessage<GtfsRealtime.FeedHeader>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.FeedHeader parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.FeedHeader parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.FeedHeader parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.FeedHeader parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.FeedHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.FeedHeader parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.FeedHeader parseFrom(InputStream input) throws IOException
IOExceptionpublic static GtfsRealtime.FeedHeader parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GtfsRealtime.FeedHeader parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GtfsRealtime.FeedHeader parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GtfsRealtime.FeedHeader parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GtfsRealtime.FeedHeader parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GtfsRealtime.FeedHeader.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GtfsRealtime.FeedHeader.Builder newBuilder()
public static GtfsRealtime.FeedHeader.Builder newBuilder(GtfsRealtime.FeedHeader prototype)
public GtfsRealtime.FeedHeader.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GtfsRealtime.FeedHeader.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static GtfsRealtime.FeedHeader getDefaultInstance()
public static com.google.protobuf.Parser<GtfsRealtime.FeedHeader> parser()
public com.google.protobuf.Parser<GtfsRealtime.FeedHeader> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public GtfsRealtime.FeedHeader getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<GtfsRealtime.FeedHeader>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019. All rights reserved.