public enum JavaDtoSpec extends Enum<JavaDtoSpec>
| Enum Constant and Description |
|---|
DEFAULT
pure Java
|
PROTO3
using proto3
if the specification is proto3,
then dto is needed to construct with the builder
see info of Java Generated Code
|
| Modifier and Type | Method and Description |
|---|---|
static JavaDtoSpec |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaDtoSpec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaDtoSpec DEFAULT
public static final JavaDtoSpec PROTO3
public static JavaDtoSpec[] values()
for (JavaDtoSpec c : JavaDtoSpec.values()) System.out.println(c);
public static JavaDtoSpec 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 © 2016–2025. All rights reserved.