public static enum ParameterDefinition.ParameterType extends Enum<ParameterDefinition.ParameterType> implements com.google.protobuf.ProtocolMessageEnum
Parameter types are used for validation. These types are consistent with [google.protobuf.Value][].Protobuf enum
google.cloud.dialogflow.cx.v3beta1.ParameterDefinition.ParameterType| Enum Constant and Description |
|---|
BOOLEAN
Represents a boolean value.
|
LIST
Represents a repeated value.
|
NULL
Represents a null value.
|
NUMBER
Represents any number value.
|
OBJECT
Represents any object value.
|
PARAMETER_TYPE_UNSPECIFIED
Not specified.
|
STRING
Represents any string value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BOOLEAN_VALUE
Represents a boolean value.
|
static int |
LIST_VALUE
Represents a repeated value.
|
static int |
NULL_VALUE
Represents a null value.
|
static int |
NUMBER_VALUE
Represents any number value.
|
static int |
OBJECT_VALUE
Represents any object value.
|
static int |
PARAMETER_TYPE_UNSPECIFIED_VALUE
Not specified.
|
static int |
STRING_VALUE
Represents any string value.
|
| Modifier and Type | Method and Description |
|---|---|
static ParameterDefinition.ParameterType |
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<ParameterDefinition.ParameterType> |
internalGetValueMap() |
static ParameterDefinition.ParameterType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ParameterDefinition.ParameterType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ParameterDefinition.ParameterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParameterDefinition.ParameterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterDefinition.ParameterType PARAMETER_TYPE_UNSPECIFIED
Not specified. No validation will be performed.
PARAMETER_TYPE_UNSPECIFIED = 0;public static final ParameterDefinition.ParameterType STRING
Represents any string value.
STRING = 1;public static final ParameterDefinition.ParameterType NUMBER
Represents any number value.
NUMBER = 2;public static final ParameterDefinition.ParameterType BOOLEAN
Represents a boolean value.
BOOLEAN = 3;public static final ParameterDefinition.ParameterType NULL
Represents a null value.
NULL = 4;public static final ParameterDefinition.ParameterType OBJECT
Represents any object value.
OBJECT = 5;public static final ParameterDefinition.ParameterType LIST
Represents a repeated value.
LIST = 6;public static final ParameterDefinition.ParameterType UNRECOGNIZED
public static final int PARAMETER_TYPE_UNSPECIFIED_VALUE
Not specified. No validation will be performed.
PARAMETER_TYPE_UNSPECIFIED = 0;public static final int STRING_VALUE
Represents any string value.
STRING = 1;public static final int NUMBER_VALUE
Represents any number value.
NUMBER = 2;public static final int BOOLEAN_VALUE
Represents a boolean value.
BOOLEAN = 3;public static final int NULL_VALUE
Represents a null value.
NULL = 4;public static final int OBJECT_VALUE
Represents any object value.
OBJECT = 5;public static final int LIST_VALUE
Represents a repeated value.
LIST = 6;public static ParameterDefinition.ParameterType[] values()
for (ParameterDefinition.ParameterType c : ParameterDefinition.ParameterType.values()) System.out.println(c);
public static ParameterDefinition.ParameterType 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 ParameterDefinition.ParameterType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ParameterDefinition.ParameterType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ParameterDefinition.ParameterType> 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 ParameterDefinition.ParameterType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.