public static enum ImportAgentRequest.AgentCase extends Enum<ImportAgentRequest.AgentCase> implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
Enum Constant and Description |
---|
AGENT_CONTENT |
AGENT_NOT_SET |
AGENT_URI |
Modifier and Type | Method and Description |
---|---|
static ImportAgentRequest.AgentCase |
forNumber(int value) |
int |
getNumber() |
static ImportAgentRequest.AgentCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ImportAgentRequest.AgentCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImportAgentRequest.AgentCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImportAgentRequest.AgentCase AGENT_URI
public static final ImportAgentRequest.AgentCase AGENT_CONTENT
public static final ImportAgentRequest.AgentCase AGENT_NOT_SET
public static ImportAgentRequest.AgentCase[] values()
for (ImportAgentRequest.AgentCase c : ImportAgentRequest.AgentCase.values()) System.out.println(c);
public static ImportAgentRequest.AgentCase 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 ImportAgentRequest.AgentCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static ImportAgentRequest.AgentCase forNumber(int value)
public int getNumber()
getNumber
in interface AbstractMessageLite.InternalOneOfEnum
getNumber
in interface Internal.EnumLite
Copyright © 2021 Google LLC. All rights reserved.