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