public static enum GtfsRealtime.Alert.Effect extends Enum<GtfsRealtime.Alert.Effect> implements com.google.protobuf.ProtocolMessageEnum
transit_realtime.Alert.Effect
What is the effect of this problem on the affected entity.
Enum Constant and Description |
---|
ADDITIONAL_SERVICE
ADDITIONAL_SERVICE = 5; |
DETOUR
DETOUR = 4; |
MODIFIED_SERVICE
MODIFIED_SERVICE = 6; |
NO_SERVICE
NO_SERVICE = 1; |
OTHER_EFFECT
OTHER_EFFECT = 7; |
REDUCED_SERVICE
REDUCED_SERVICE = 2; |
SIGNIFICANT_DELAYS
SIGNIFICANT_DELAYS = 3; |
STOP_MOVED
STOP_MOVED = 9; |
UNKNOWN_EFFECT
UNKNOWN_EFFECT = 8; |
Modifier and Type | Field and Description |
---|---|
static int |
ADDITIONAL_SERVICE_VALUE
ADDITIONAL_SERVICE = 5; |
static int |
DETOUR_VALUE
DETOUR = 4; |
static int |
MODIFIED_SERVICE_VALUE
MODIFIED_SERVICE = 6; |
static int |
NO_SERVICE_VALUE
NO_SERVICE = 1; |
static int |
OTHER_EFFECT_VALUE
OTHER_EFFECT = 7; |
static int |
REDUCED_SERVICE_VALUE
REDUCED_SERVICE = 2; |
static int |
SIGNIFICANT_DELAYS_VALUE
SIGNIFICANT_DELAYS = 3; |
static int |
STOP_MOVED_VALUE
STOP_MOVED = 9; |
static int |
UNKNOWN_EFFECT_VALUE
UNKNOWN_EFFECT = 8; |
Modifier and Type | Method and Description |
---|---|
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.Alert.Effect> |
internalGetValueMap() |
static GtfsRealtime.Alert.Effect |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GtfsRealtime.Alert.Effect |
valueOf(int value) |
static GtfsRealtime.Alert.Effect |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GtfsRealtime.Alert.Effect[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GtfsRealtime.Alert.Effect NO_SERVICE
NO_SERVICE = 1;
public static final GtfsRealtime.Alert.Effect REDUCED_SERVICE
REDUCED_SERVICE = 2;
public static final GtfsRealtime.Alert.Effect SIGNIFICANT_DELAYS
SIGNIFICANT_DELAYS = 3;
We don't care about INsignificant delays: they are hard to detect, have little impact on the user, and would clutter the results as they are too frequent.
public static final GtfsRealtime.Alert.Effect DETOUR
DETOUR = 4;
public static final GtfsRealtime.Alert.Effect ADDITIONAL_SERVICE
ADDITIONAL_SERVICE = 5;
public static final GtfsRealtime.Alert.Effect MODIFIED_SERVICE
MODIFIED_SERVICE = 6;
public static final GtfsRealtime.Alert.Effect OTHER_EFFECT
OTHER_EFFECT = 7;
public static final GtfsRealtime.Alert.Effect UNKNOWN_EFFECT
UNKNOWN_EFFECT = 8;
public static final GtfsRealtime.Alert.Effect STOP_MOVED
STOP_MOVED = 9;
public static final int NO_SERVICE_VALUE
NO_SERVICE = 1;
public static final int REDUCED_SERVICE_VALUE
REDUCED_SERVICE = 2;
public static final int SIGNIFICANT_DELAYS_VALUE
SIGNIFICANT_DELAYS = 3;
We don't care about INsignificant delays: they are hard to detect, have little impact on the user, and would clutter the results as they are too frequent.
public static final int DETOUR_VALUE
DETOUR = 4;
public static final int ADDITIONAL_SERVICE_VALUE
ADDITIONAL_SERVICE = 5;
public static final int MODIFIED_SERVICE_VALUE
MODIFIED_SERVICE = 6;
public static final int OTHER_EFFECT_VALUE
OTHER_EFFECT = 7;
public static final int UNKNOWN_EFFECT_VALUE
UNKNOWN_EFFECT = 8;
public static final int STOP_MOVED_VALUE
STOP_MOVED = 9;
public static GtfsRealtime.Alert.Effect[] values()
for (GtfsRealtime.Alert.Effect c : GtfsRealtime.Alert.Effect.values()) System.out.println(c);
public static GtfsRealtime.Alert.Effect 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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static GtfsRealtime.Alert.Effect valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<GtfsRealtime.Alert.Effect> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static GtfsRealtime.Alert.Effect valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018. All rights reserved.