public static enum Key.PathElement.IdTypeCase extends Enum<Key.PathElement.IdTypeCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
ID |
IDTYPE_NOT_SET |
NAME |
Modifier and Type | Method and Description |
---|---|
static Key.PathElement.IdTypeCase |
forNumber(int value) |
int |
getNumber() |
static Key.PathElement.IdTypeCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Key.PathElement.IdTypeCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Key.PathElement.IdTypeCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Key.PathElement.IdTypeCase ID
public static final Key.PathElement.IdTypeCase NAME
public static final Key.PathElement.IdTypeCase IDTYPE_NOT_SET
public static Key.PathElement.IdTypeCase[] values()
for (Key.PathElement.IdTypeCase c : Key.PathElement.IdTypeCase.values()) System.out.println(c);
public static Key.PathElement.IdTypeCase 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 null@Deprecated public static Key.PathElement.IdTypeCase valueOf(int value)
forNumber(int)
instead.public static Key.PathElement.IdTypeCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2019 Google LLC. All rights reserved.