public static enum GtfsRealtime.FeedHeader.Incrementality extends Enum<GtfsRealtime.FeedHeader.Incrementality> implements com.google.protobuf.ProtocolMessageEnum
Determines whether the current fetch is incremental. Currently, DIFFERENTIAL mode is unsupported and behavior is unspecified for feeds that use this mode. There are discussions on the GTFS Realtime mailing list around fully specifying the behavior of DIFFERENTIAL mode and the documentation will be updated when those discussions are finalized.Protobuf enum
transit_realtime.FeedHeader.Incrementality| Enum Constant and Description |
|---|
DIFFERENTIAL
DIFFERENTIAL = 1; |
FULL_DATASET
FULL_DATASET = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
DIFFERENTIAL_VALUE
DIFFERENTIAL = 1; |
static int |
FULL_DATASET_VALUE
FULL_DATASET = 0; |
| Modifier and Type | Method and Description |
|---|---|
static GtfsRealtime.FeedHeader.Incrementality |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<GtfsRealtime.FeedHeader.Incrementality> |
internalGetValueMap() |
static GtfsRealtime.FeedHeader.Incrementality |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GtfsRealtime.FeedHeader.Incrementality |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GtfsRealtime.FeedHeader.Incrementality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GtfsRealtime.FeedHeader.Incrementality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GtfsRealtime.FeedHeader.Incrementality FULL_DATASET
FULL_DATASET = 0;public static final GtfsRealtime.FeedHeader.Incrementality DIFFERENTIAL
DIFFERENTIAL = 1;public static final int FULL_DATASET_VALUE
FULL_DATASET = 0;public static final int DIFFERENTIAL_VALUE
DIFFERENTIAL = 1;public static GtfsRealtime.FeedHeader.Incrementality[] values()
for (GtfsRealtime.FeedHeader.Incrementality c : GtfsRealtime.FeedHeader.Incrementality.values()) System.out.println(c);
public static GtfsRealtime.FeedHeader.Incrementality valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static GtfsRealtime.FeedHeader.Incrementality valueOf(int value)
forNumber(int) instead.public static GtfsRealtime.FeedHeader.Incrementality forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<GtfsRealtime.FeedHeader.Incrementality> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static GtfsRealtime.FeedHeader.Incrementality valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019. All rights reserved.