public static enum Pb2JsonUtils.PbVersion extends Enum<Pb2JsonUtils.PbVersion>
| Modifier and Type | Method and Description |
|---|---|
static Pb2JsonUtils.PbVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Pb2JsonUtils.PbVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pb2JsonUtils.PbVersion PROTO2
public static final Pb2JsonUtils.PbVersion PROTO3
public static Pb2JsonUtils.PbVersion[] values()
for (Pb2JsonUtils.PbVersion c : Pb2JsonUtils.PbVersion.values()) System.out.println(c);
public static Pb2JsonUtils.PbVersion 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 nullCopyright © 2022 Baidu, Inc.. All rights reserved.