public static enum SpannerRpc.Option extends Enum<SpannerRpc.Option>
SpannerRpc methods to control how an RPC is issued.| Enum Constant and Description |
|---|
CHANNEL_HINT |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static SpannerRpc.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpannerRpc.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpannerRpc.Option CHANNEL_HINT
public static SpannerRpc.Option[] values()
for (SpannerRpc.Option c : SpannerRpc.Option.values()) System.out.println(c);
public static SpannerRpc.Option 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 nullpublic String toString()
toString in class Enum<SpannerRpc.Option>Copyright © 2019 Google LLC. All rights reserved.