public static final class GtfsRealtime.FeedHeader.Builder extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.FeedHeader,GtfsRealtime.FeedHeader.Builder> implements GtfsRealtime.FeedHeaderOrBuilder
transit_realtime.FeedHeader
Metadata about a feed, included in feed messages.
Modifier and Type | Method and Description |
---|---|
GtfsRealtime.FeedHeader |
build() |
GtfsRealtime.FeedHeader |
buildPartial() |
GtfsRealtime.FeedHeader.Builder |
clear() |
GtfsRealtime.FeedHeader.Builder |
clearGtfsRealtimeVersion()
required string gtfs_realtime_version = 1; |
GtfsRealtime.FeedHeader.Builder |
clearIncrementality()
optional .transit_realtime.FeedHeader.Incrementality incrementality = 2 [default = FULL_DATASET]; |
GtfsRealtime.FeedHeader.Builder |
clearTimestamp()
optional uint64 timestamp = 3; |
GtfsRealtime.FeedHeader.Builder |
clone() |
GtfsRealtime.FeedHeader |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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]; |
long |
getTimestamp()
optional uint64 timestamp = 3; |
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() |
GtfsRealtime.FeedHeader.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GtfsRealtime.FeedHeader.Builder |
mergeFrom(GtfsRealtime.FeedHeader other) |
GtfsRealtime.FeedHeader.Builder |
mergeFrom(com.google.protobuf.Message other) |
GtfsRealtime.FeedHeader.Builder |
setGtfsRealtimeVersion(String value)
required string gtfs_realtime_version = 1; |
GtfsRealtime.FeedHeader.Builder |
setGtfsRealtimeVersionBytes(com.google.protobuf.ByteString value)
required string gtfs_realtime_version = 1; |
GtfsRealtime.FeedHeader.Builder |
setIncrementality(GtfsRealtime.FeedHeader.Incrementality value)
optional .transit_realtime.FeedHeader.Incrementality incrementality = 2 [default = FULL_DATASET]; |
GtfsRealtime.FeedHeader.Builder |
setTimestamp(long value)
optional uint64 timestamp = 3; |
addExtension, addRepeatedField, clearExtension, clearField, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, parseUnknownField, setExtension, setExtension, setField, setRepeatedField
clearOneof, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getUnknownFields, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<GtfsRealtime.FeedHeader.Builder>
public GtfsRealtime.FeedHeader.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.FeedHeader,GtfsRealtime.FeedHeader.Builder>
public GtfsRealtime.FeedHeader.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.FeedHeader,GtfsRealtime.FeedHeader.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<GtfsRealtime.FeedHeader.Builder>
public GtfsRealtime.FeedHeader getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.FeedHeader>
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public GtfsRealtime.FeedHeader build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public GtfsRealtime.FeedHeader buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public GtfsRealtime.FeedHeader.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<GtfsRealtime.FeedHeader.Builder>
public GtfsRealtime.FeedHeader.Builder mergeFrom(GtfsRealtime.FeedHeader other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.FeedHeader,GtfsRealtime.FeedHeader.Builder>
public GtfsRealtime.FeedHeader.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<GtfsRealtime.FeedHeader.Builder>
IOException
public boolean hasGtfsRealtimeVersion()
required string gtfs_realtime_version = 1;
Version of the feed specification. The current version is 1.0.
hasGtfsRealtimeVersion
in interface GtfsRealtime.FeedHeaderOrBuilder
public String getGtfsRealtimeVersion()
required string gtfs_realtime_version = 1;
Version of the feed specification. The current version is 1.0.
getGtfsRealtimeVersion
in interface GtfsRealtime.FeedHeaderOrBuilder
public 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.FeedHeaderOrBuilder
public GtfsRealtime.FeedHeader.Builder setGtfsRealtimeVersion(String value)
required string gtfs_realtime_version = 1;
Version of the feed specification. The current version is 1.0.
public GtfsRealtime.FeedHeader.Builder clearGtfsRealtimeVersion()
required string gtfs_realtime_version = 1;
Version of the feed specification. The current version is 1.0.
public GtfsRealtime.FeedHeader.Builder setGtfsRealtimeVersionBytes(com.google.protobuf.ByteString value)
required string gtfs_realtime_version = 1;
Version of the feed specification. The current version is 1.0.
public boolean hasIncrementality()
optional .transit_realtime.FeedHeader.Incrementality incrementality = 2 [default = FULL_DATASET];
hasIncrementality
in interface GtfsRealtime.FeedHeaderOrBuilder
public GtfsRealtime.FeedHeader.Incrementality getIncrementality()
optional .transit_realtime.FeedHeader.Incrementality incrementality = 2 [default = FULL_DATASET];
getIncrementality
in interface GtfsRealtime.FeedHeaderOrBuilder
public GtfsRealtime.FeedHeader.Builder setIncrementality(GtfsRealtime.FeedHeader.Incrementality value)
optional .transit_realtime.FeedHeader.Incrementality incrementality = 2 [default = FULL_DATASET];
public GtfsRealtime.FeedHeader.Builder clearIncrementality()
optional .transit_realtime.FeedHeader.Incrementality incrementality = 2 [default = FULL_DATASET];
public 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.FeedHeaderOrBuilder
public 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.FeedHeaderOrBuilder
public GtfsRealtime.FeedHeader.Builder setTimestamp(long value)
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).
public GtfsRealtime.FeedHeader.Builder clearTimestamp()
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).
Copyright © 2019. All rights reserved.