public static enum Transport.Message.PacketCase extends Enum<Transport.Message.PacketCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
HEARTBEAT |
INITIATION |
PACKET_NOT_SET |
PEER_DOWN |
PEER_UP |
ROUTE_MONITORING |
STATISTICS_REPORT |
TERMINATION |
Modifier and Type | Method and Description |
---|---|
static Transport.Message.PacketCase |
forNumber(int value) |
int |
getNumber() |
static Transport.Message.PacketCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Transport.Message.PacketCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transport.Message.PacketCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transport.Message.PacketCase INITIATION
public static final Transport.Message.PacketCase TERMINATION
public static final Transport.Message.PacketCase PEER_UP
public static final Transport.Message.PacketCase PEER_DOWN
public static final Transport.Message.PacketCase ROUTE_MONITORING
public static final Transport.Message.PacketCase STATISTICS_REPORT
public static final Transport.Message.PacketCase HEARTBEAT
public static final Transport.Message.PacketCase PACKET_NOT_SET
public static Transport.Message.PacketCase[] values()
for (Transport.Message.PacketCase c : Transport.Message.PacketCase.values()) System.out.println(c);
public static Transport.Message.PacketCase 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 null@Deprecated public static Transport.Message.PacketCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static Transport.Message.PacketCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2020. All rights reserved.