public static enum OutboundPassengerMessage.MessageCase extends java.lang.Enum<OutboundPassengerMessage.MessageCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
DRIVER_FOUND |
MESSAGE_NOT_SET |
RIDE_ENDED |
RIDE_FAILED |
RIDE_STARTED |
Modifier and Type | Method and Description |
---|---|
static OutboundPassengerMessage.MessageCase |
forNumber(int value) |
int |
getNumber() |
static OutboundPassengerMessage.MessageCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OutboundPassengerMessage.MessageCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OutboundPassengerMessage.MessageCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OutboundPassengerMessage.MessageCase DRIVER_FOUND
public static final OutboundPassengerMessage.MessageCase RIDE_FAILED
public static final OutboundPassengerMessage.MessageCase RIDE_STARTED
public static final OutboundPassengerMessage.MessageCase RIDE_ENDED
public static final OutboundPassengerMessage.MessageCase MESSAGE_NOT_SET
public static OutboundPassengerMessage.MessageCase[] values()
for (OutboundPassengerMessage.MessageCase c : OutboundPassengerMessage.MessageCase.values()) System.out.println(c);
public static OutboundPassengerMessage.MessageCase valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public static OutboundPassengerMessage.MessageCase valueOf(int value)
forNumber(int)
instead.public static OutboundPassengerMessage.MessageCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.