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