public static enum WireField.Label extends Enum<WireField.Label>
Enum Constant and Description |
---|
ONE_OF |
OPTIONAL |
PACKED
Implies
REPEATED . |
REPEATED |
REQUIRED |
Modifier and Type | Method and Description |
---|---|
static WireField.Label |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WireField.Label[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WireField.Label REQUIRED
public static final WireField.Label OPTIONAL
public static final WireField.Label REPEATED
public static final WireField.Label ONE_OF
public static final WireField.Label PACKED
REPEATED
.public static WireField.Label[] values()
for (WireField.Label c : WireField.Label.values()) System.out.println(c);
public static WireField.Label 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 © 2013–2016 Square, Inc.. All rights reserved.