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