public static enum Instance.Type extends Enum<Instance.Type>
Enum Constant and Description |
---|
DEVELOPMENT
The instance is meant for development and testing purposes only.
|
PRODUCTION
An instance meant for production use.
|
UNRECOGNIZED
The type of instance is not known by this client.
|
Modifier and Type | Method and Description |
---|---|
static Instance.Type |
fromProto(Instance.Type proto)
Wraps the protobuf.
|
Instance.Type |
toProto()
Creates the request protobuf.
|
static Instance.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Instance.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instance.Type PRODUCTION
public static final Instance.Type DEVELOPMENT
public static final Instance.Type UNRECOGNIZED
public static Instance.Type[] values()
for (Instance.Type c : Instance.Type.values()) System.out.println(c);
public static Instance.Type 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@InternalApi public static Instance.Type fromProto(Instance.Type proto)
@InternalApi public Instance.Type toProto()
Copyright © 2019 Google LLC. All rights reserved.