public enum AckResponse extends Enum<AckResponse>
| Enum Constant and Description |
|---|
FAILED_PRECONDITION |
INVALID |
OTHER |
PERMISSION_DENIED |
SUCCESSFUL |
| Modifier and Type | Method and Description |
|---|---|
static AckResponse |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AckResponse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AckResponse PERMISSION_DENIED
public static final AckResponse FAILED_PRECONDITION
public static final AckResponse SUCCESSFUL
public static final AckResponse INVALID
public static final AckResponse OTHER
public static AckResponse[] values()
for (AckResponse c : AckResponse.values()) System.out.println(c);
public static AckResponse 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 Google LLC. All rights reserved.