public static enum ValueRange.EndValueCase extends Enum<ValueRange.EndValueCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
END_VALUE_CLOSED |
END_VALUE_OPEN |
ENDVALUE_NOT_SET |
Modifier and Type | Method and Description |
---|---|
static ValueRange.EndValueCase |
forNumber(int value) |
int |
getNumber() |
static ValueRange.EndValueCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ValueRange.EndValueCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueRange.EndValueCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueRange.EndValueCase END_VALUE_CLOSED
public static final ValueRange.EndValueCase END_VALUE_OPEN
public static final ValueRange.EndValueCase ENDVALUE_NOT_SET
public static ValueRange.EndValueCase[] values()
for (ValueRange.EndValueCase c : ValueRange.EndValueCase.values()) System.out.println(c);
public static ValueRange.EndValueCase 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 ValueRange.EndValueCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static ValueRange.EndValueCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2022 Google LLC. All rights reserved.