public static enum Options.RpcPriority extends Enum<Options.RpcPriority>
HIGH
. This enum can be used to
set a lower priority for a specific RPC invocation.Modifier and Type | Method and Description |
---|---|
static Options.RpcPriority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Options.RpcPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Options.RpcPriority LOW
public static final Options.RpcPriority MEDIUM
public static final Options.RpcPriority HIGH
public static Options.RpcPriority[] values()
for (Options.RpcPriority c : Options.RpcPriority.values()) System.out.println(c);
public static Options.RpcPriority 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.