public static enum FileDescriptorSet.FieldDescriptorProto.Label extends Enum<FileDescriptorSet.FieldDescriptorProto.Label>
Enum Constant and Description |
---|
LABEL_OPTIONAL |
LABEL_REPEATED |
LABEL_REQUIRED |
Modifier and Type | Method and Description |
---|---|
static FileDescriptorSet.FieldDescriptorProto.Label |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileDescriptorSet.FieldDescriptorProto.Label[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileDescriptorSet.FieldDescriptorProto.Label LABEL_OPTIONAL
public static final FileDescriptorSet.FieldDescriptorProto.Label LABEL_REQUIRED
public static final FileDescriptorSet.FieldDescriptorProto.Label LABEL_REPEATED
public static FileDescriptorSet.FieldDescriptorProto.Label[] values()
for (FileDescriptorSet.FieldDescriptorProto.Label c : FileDescriptorSet.FieldDescriptorProto.Label.values()) System.out.println(c);
public static FileDescriptorSet.FieldDescriptorProto.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 © 2022 FasterXML. All rights reserved.