public static final class GtfsRealtime.FeedHeader extends com.google.protobuf.GeneratedMessage.ExtendableMessage<GtfsRealtime.FeedHeader> implements GtfsRealtime.FeedHeaderOrBuilder
transit_realtime.FeedHeader
Metadata about a feed, included in feed messages.
| Modifier and Type | Class and Description |
|---|---|
static class |
GtfsRealtime.FeedHeader.Builder
Protobuf type
transit_realtime.FeedHeader |
static class |
GtfsRealtime.FeedHeader.Incrementality
Protobuf enum
transit_realtime.FeedHeader.Incrementality |
com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWritercom.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| 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 |
static int |
TIMESTAMP_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static GtfsRealtime.FeedHeader |
getDefaultInstance() |
GtfsRealtime.FeedHeader |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getGtfsRealtimeVersion()
required string gtfs_realtime_version = 1; |
com.google.protobuf.ByteString |
getGtfsRealtimeVersionBytes()
required string gtfs_realtime_version = 1; |
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()
optional uint64 timestamp = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasGtfsRealtimeVersion()
required string gtfs_realtime_version = 1; |
boolean |
hasIncrementality()
optional .transit_realtime.FeedHeader.Incrementality incrementality = 2 [default = FULL_DATASET]; |
boolean |
hasTimestamp()
optional uint64 timestamp = 3; |
protected com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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(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) |
GtfsRealtime.FeedHeader.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownFieldgetDescriptorForType, getOneofFieldDescriptor, hasOneof, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtensionequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtensionCount, hasExtensionpublic static com.google.protobuf.Parser<GtfsRealtime.FeedHeader> PARSER
public static final int GTFS_REALTIME_VERSION_FIELD_NUMBER
public static final int INCREMENTALITY_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public static GtfsRealtime.FeedHeader getDefaultInstance()
public GtfsRealtime.FeedHeader getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.FeedHeader>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic 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.GeneratedMessagepublic boolean hasGtfsRealtimeVersion()
required string gtfs_realtime_version = 1;
Version of the feed specification. The current version is 1.0.
hasGtfsRealtimeVersion in interface GtfsRealtime.FeedHeaderOrBuilderpublic String getGtfsRealtimeVersion()
required string gtfs_realtime_version = 1;
Version of the feed specification. The current version is 1.0.
getGtfsRealtimeVersion in interface GtfsRealtime.FeedHeaderOrBuilderpublic com.google.protobuf.ByteString getGtfsRealtimeVersionBytes()
required string gtfs_realtime_version = 1;
Version of the feed specification. The current version is 1.0.
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()
optional uint64 timestamp = 3;
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).
hasTimestamp in interface GtfsRealtime.FeedHeaderOrBuilderpublic long getTimestamp()
optional uint64 timestamp = 3;
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).
getTimestamp in interface GtfsRealtime.FeedHeaderOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.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.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic 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 static GtfsRealtime.FeedHeader.Builder newBuilder()
public GtfsRealtime.FeedHeader.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic 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.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2018. All rights reserved.