public static enum PageInfo.FormInfo.ParameterInfo.ParameterState extends Enum<PageInfo.FormInfo.ParameterInfo.ParameterState> implements com.google.protobuf.ProtocolMessageEnum
Represents the state of a parameter.Protobuf enum
google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState| Enum Constant and Description |
|---|
EMPTY
Indicates that the parameter does not have a value.
|
FILLED
Indicates that the parameter has a value.
|
INVALID
Indicates that the parameter value is invalid.
|
PARAMETER_STATE_UNSPECIFIED
Not specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
EMPTY_VALUE
Indicates that the parameter does not have a value.
|
static int |
FILLED_VALUE
Indicates that the parameter has a value.
|
static int |
INVALID_VALUE
Indicates that the parameter value is invalid.
|
static int |
PARAMETER_STATE_UNSPECIFIED_VALUE
Not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static PageInfo.FormInfo.ParameterInfo.ParameterState |
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<PageInfo.FormInfo.ParameterInfo.ParameterState> |
internalGetValueMap() |
static PageInfo.FormInfo.ParameterInfo.ParameterState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PageInfo.FormInfo.ParameterInfo.ParameterState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PageInfo.FormInfo.ParameterInfo.ParameterState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageInfo.FormInfo.ParameterInfo.ParameterState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageInfo.FormInfo.ParameterInfo.ParameterState PARAMETER_STATE_UNSPECIFIED
Not specified. This value should be never used.
PARAMETER_STATE_UNSPECIFIED = 0;public static final PageInfo.FormInfo.ParameterInfo.ParameterState EMPTY
Indicates that the parameter does not have a value.
EMPTY = 1;public static final PageInfo.FormInfo.ParameterInfo.ParameterState INVALID
Indicates that the parameter value is invalid. This field can be used by the webhook to invalidate the parameter and ask the server to collect it from the user again.
INVALID = 2;public static final PageInfo.FormInfo.ParameterInfo.ParameterState FILLED
Indicates that the parameter has a value.
FILLED = 3;public static final PageInfo.FormInfo.ParameterInfo.ParameterState UNRECOGNIZED
public static final int PARAMETER_STATE_UNSPECIFIED_VALUE
Not specified. This value should be never used.
PARAMETER_STATE_UNSPECIFIED = 0;public static final int EMPTY_VALUE
Indicates that the parameter does not have a value.
EMPTY = 1;public static final int INVALID_VALUE
Indicates that the parameter value is invalid. This field can be used by the webhook to invalidate the parameter and ask the server to collect it from the user again.
INVALID = 2;public static final int FILLED_VALUE
Indicates that the parameter has a value.
FILLED = 3;public static PageInfo.FormInfo.ParameterInfo.ParameterState[] values()
for (PageInfo.FormInfo.ParameterInfo.ParameterState c : PageInfo.FormInfo.ParameterInfo.ParameterState.values()) System.out.println(c);
public static PageInfo.FormInfo.ParameterInfo.ParameterState 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 PageInfo.FormInfo.ParameterInfo.ParameterState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static PageInfo.FormInfo.ParameterInfo.ParameterState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PageInfo.FormInfo.ParameterInfo.ParameterState> 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 PageInfo.FormInfo.ParameterInfo.ParameterState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.