public enum ProtobufType extends Enum<ProtobufType>
Enum Constant and Description |
---|
BOOL |
DOUBLE |
FLOAT |
INT32 |
INT64 |
STRING |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static ProtobufType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtobufType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtobufType STRING
public static final ProtobufType INT32
public static final ProtobufType BOOL
public static final ProtobufType DOUBLE
public static final ProtobufType FLOAT
public static final ProtobufType INT64
public static ProtobufType[] values()
for (ProtobufType c : ProtobufType.values()) System.out.println(c);
public static ProtobufType 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 nullpublic String toString()
toString
in class Enum<ProtobufType>
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.