public static enum Agent.ApiVersion extends Enum<Agent.ApiVersion> implements com.google.protobuf.ProtocolMessageEnum
API version for the agent.Protobuf enum
google.cloud.dialogflow.v2beta1.Agent.ApiVersion| Enum Constant and Description |
|---|
API_VERSION_UNSPECIFIED
Not specified.
|
API_VERSION_V1
Legacy V1 API.
|
API_VERSION_V2
V2 API.
|
API_VERSION_V2_BETA_1
V2beta1 API.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
API_VERSION_UNSPECIFIED_VALUE
Not specified.
|
static int |
API_VERSION_V1_VALUE
Legacy V1 API.
|
static int |
API_VERSION_V2_BETA_1_VALUE
V2beta1 API.
|
static int |
API_VERSION_V2_VALUE
V2 API.
|
| Modifier and Type | Method and Description |
|---|---|
static Agent.ApiVersion |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Agent.ApiVersion> |
internalGetValueMap() |
static Agent.ApiVersion |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Agent.ApiVersion |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Agent.ApiVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Agent.ApiVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Agent.ApiVersion API_VERSION_UNSPECIFIED
Not specified.
API_VERSION_UNSPECIFIED = 0;public static final Agent.ApiVersion API_VERSION_V1
Legacy V1 API.
API_VERSION_V1 = 1;public static final Agent.ApiVersion API_VERSION_V2
V2 API.
API_VERSION_V2 = 2;public static final Agent.ApiVersion API_VERSION_V2_BETA_1
V2beta1 API.
API_VERSION_V2_BETA_1 = 3;public static final Agent.ApiVersion UNRECOGNIZED
public static final int API_VERSION_UNSPECIFIED_VALUE
Not specified.
API_VERSION_UNSPECIFIED = 0;public static final int API_VERSION_V1_VALUE
Legacy V1 API.
API_VERSION_V1 = 1;public static final int API_VERSION_V2_VALUE
V2 API.
API_VERSION_V2 = 2;public static final int API_VERSION_V2_BETA_1_VALUE
V2beta1 API.
API_VERSION_V2_BETA_1 = 3;public static Agent.ApiVersion[] values()
for (Agent.ApiVersion c : Agent.ApiVersion.values()) System.out.println(c);
public static Agent.ApiVersion 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 final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Agent.ApiVersion valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Agent.ApiVersion forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Agent.ApiVersion> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Agent.ApiVersion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.