public static enum InboundPassengerMessage.MessageCase extends java.lang.Enum<InboundPassengerMessage.MessageCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
MESSAGE_NOT_SET |
REQUEST_RIDE |
Modifier and Type | Method and Description |
---|---|
static InboundPassengerMessage.MessageCase |
forNumber(int value) |
int |
getNumber() |
static InboundPassengerMessage.MessageCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static InboundPassengerMessage.MessageCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InboundPassengerMessage.MessageCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InboundPassengerMessage.MessageCase REQUEST_RIDE
public static final InboundPassengerMessage.MessageCase MESSAGE_NOT_SET
public static InboundPassengerMessage.MessageCase[] values()
for (InboundPassengerMessage.MessageCase c : InboundPassengerMessage.MessageCase.values()) System.out.println(c);
public static InboundPassengerMessage.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 InboundPassengerMessage.MessageCase valueOf(int value)
forNumber(int)
instead.public static InboundPassengerMessage.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.