public static final class GtfsRealtime.TimeRange.Builder extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.TimeRange,GtfsRealtime.TimeRange.Builder> implements GtfsRealtime.TimeRangeOrBuilder
transit_realtime.TimeRange
A time interval. The interval is considered active at time 't' if 't' is greater than or equal to the start time and less than the end time.
Modifier and Type | Method and Description |
---|---|
GtfsRealtime.TimeRange |
build() |
GtfsRealtime.TimeRange |
buildPartial() |
GtfsRealtime.TimeRange.Builder |
clear() |
GtfsRealtime.TimeRange.Builder |
clearEnd()
optional uint64 end = 2; |
GtfsRealtime.TimeRange.Builder |
clearStart()
optional uint64 start = 1; |
GtfsRealtime.TimeRange.Builder |
clone() |
GtfsRealtime.TimeRange |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getEnd()
optional uint64 end = 2; |
long |
getStart()
optional uint64 start = 1; |
boolean |
hasEnd()
optional uint64 end = 2; |
boolean |
hasStart()
optional uint64 start = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GtfsRealtime.TimeRange.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GtfsRealtime.TimeRange.Builder |
mergeFrom(GtfsRealtime.TimeRange other) |
GtfsRealtime.TimeRange.Builder |
mergeFrom(com.google.protobuf.Message other) |
GtfsRealtime.TimeRange.Builder |
setEnd(long value)
optional uint64 end = 2; |
GtfsRealtime.TimeRange.Builder |
setStart(long value)
optional uint64 start = 1; |
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.TimeRange.Builder>
public GtfsRealtime.TimeRange.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.TimeRange,GtfsRealtime.TimeRange.Builder>
public GtfsRealtime.TimeRange.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.TimeRange,GtfsRealtime.TimeRange.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.TimeRange.Builder>
public GtfsRealtime.TimeRange getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.TimeRange>
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public GtfsRealtime.TimeRange build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public GtfsRealtime.TimeRange buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public GtfsRealtime.TimeRange.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<GtfsRealtime.TimeRange.Builder>
public GtfsRealtime.TimeRange.Builder mergeFrom(GtfsRealtime.TimeRange other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.TimeRange,GtfsRealtime.TimeRange.Builder>
public GtfsRealtime.TimeRange.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.TimeRange.Builder>
IOException
public boolean hasStart()
optional uint64 start = 1;
Start time, in POSIX time (i.e., number of seconds since January 1st 1970 00:00:00 UTC). If missing, the interval starts at minus infinity.
hasStart
in interface GtfsRealtime.TimeRangeOrBuilder
public long getStart()
optional uint64 start = 1;
Start time, in POSIX time (i.e., number of seconds since January 1st 1970 00:00:00 UTC). If missing, the interval starts at minus infinity.
getStart
in interface GtfsRealtime.TimeRangeOrBuilder
public GtfsRealtime.TimeRange.Builder setStart(long value)
optional uint64 start = 1;
Start time, in POSIX time (i.e., number of seconds since January 1st 1970 00:00:00 UTC). If missing, the interval starts at minus infinity.
public GtfsRealtime.TimeRange.Builder clearStart()
optional uint64 start = 1;
Start time, in POSIX time (i.e., number of seconds since January 1st 1970 00:00:00 UTC). If missing, the interval starts at minus infinity.
public boolean hasEnd()
optional uint64 end = 2;
End time, in POSIX time (i.e., number of seconds since January 1st 1970 00:00:00 UTC). If missing, the interval ends at plus infinity.
hasEnd
in interface GtfsRealtime.TimeRangeOrBuilder
public long getEnd()
optional uint64 end = 2;
End time, in POSIX time (i.e., number of seconds since January 1st 1970 00:00:00 UTC). If missing, the interval ends at plus infinity.
getEnd
in interface GtfsRealtime.TimeRangeOrBuilder
public GtfsRealtime.TimeRange.Builder setEnd(long value)
optional uint64 end = 2;
End time, in POSIX time (i.e., number of seconds since January 1st 1970 00:00:00 UTC). If missing, the interval ends at plus infinity.
public GtfsRealtime.TimeRange.Builder clearEnd()
optional uint64 end = 2;
End time, in POSIX time (i.e., number of seconds since January 1st 1970 00:00:00 UTC). If missing, the interval ends at plus infinity.
Copyright © 2018. All rights reserved.