Enum DetectIntentResponseView
java.lang.Object
java.lang.Enum<DetectIntentResponseView>
com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponseView
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DetectIntentResponseView>
@Generated
public enum DetectIntentResponseView
extends Enum<DetectIntentResponseView>
implements com.google.protobuf.ProtocolMessageEnum
The response view specifies which fields in the [QueryResult][google.cloud.dialogflow.cx.v3beta1.QueryResult] to return.Protobuf enum
google.cloud.dialogflow.cx.v3beta1.DetectIntentResponseView-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBasic response view omits the following fields: - [QueryResult.diagnostic_info][google.cloud.dialogflow.cx.v3beta1.QueryResult.diagnostic_info] - [QueryResult.generative_info][google.cloud.dialogflow.cx.v3beta1.QueryResult.generative_info]Default response view omits the following fields: - [QueryResult.trace_blocks][google.cloud.dialogflow.cx.v3beta1.QueryResult.trace_blocks]Full response view includes all fields.Not specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBasic response view omits the following fields: - [QueryResult.diagnostic_info][google.cloud.dialogflow.cx.v3beta1.QueryResult.diagnostic_info] - [QueryResult.generative_info][google.cloud.dialogflow.cx.v3beta1.QueryResult.generative_info]static final intDefault response view omits the following fields: - [QueryResult.trace_blocks][google.cloud.dialogflow.cx.v3beta1.QueryResult.trace_blocks]static final intFull response view includes all fields.static final intNot specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic DetectIntentResponseViewforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<DetectIntentResponseView>static DetectIntentResponseViewvalueOf(int value) Deprecated.static DetectIntentResponseViewvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static DetectIntentResponseViewReturns the enum constant of this type with the specified name.static DetectIntentResponseView[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED
Not specified. `DETECT_INTENT_RESPONSE_VIEW_DEFAULT` will be used.
DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED = 0; -
DETECT_INTENT_RESPONSE_VIEW_FULL
Full response view includes all fields.
DETECT_INTENT_RESPONSE_VIEW_FULL = 1; -
DETECT_INTENT_RESPONSE_VIEW_BASIC
Basic response view omits the following fields: - [QueryResult.diagnostic_info][google.cloud.dialogflow.cx.v3beta1.QueryResult.diagnostic_info] - [QueryResult.generative_info][google.cloud.dialogflow.cx.v3beta1.QueryResult.generative_info]
DETECT_INTENT_RESPONSE_VIEW_BASIC = 2; -
DETECT_INTENT_RESPONSE_VIEW_DEFAULT
Default response view omits the following fields: - [QueryResult.trace_blocks][google.cloud.dialogflow.cx.v3beta1.QueryResult.trace_blocks]
DETECT_INTENT_RESPONSE_VIEW_DEFAULT = 3; -
UNRECOGNIZED
-
-
Field Details
-
DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED_VALUE
public static final int DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED_VALUENot specified. `DETECT_INTENT_RESPONSE_VIEW_DEFAULT` will be used.
DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED = 0;- See Also:
-
DETECT_INTENT_RESPONSE_VIEW_FULL_VALUE
public static final int DETECT_INTENT_RESPONSE_VIEW_FULL_VALUEFull response view includes all fields.
DETECT_INTENT_RESPONSE_VIEW_FULL = 1;- See Also:
-
DETECT_INTENT_RESPONSE_VIEW_BASIC_VALUE
public static final int DETECT_INTENT_RESPONSE_VIEW_BASIC_VALUEBasic response view omits the following fields: - [QueryResult.diagnostic_info][google.cloud.dialogflow.cx.v3beta1.QueryResult.diagnostic_info] - [QueryResult.generative_info][google.cloud.dialogflow.cx.v3beta1.QueryResult.generative_info]
DETECT_INTENT_RESPONSE_VIEW_BASIC = 2;- See Also:
-
DETECT_INTENT_RESPONSE_VIEW_DEFAULT_VALUE
public static final int DETECT_INTENT_RESPONSE_VIEW_DEFAULT_VALUEDefault response view omits the following fields: - [QueryResult.trace_blocks][google.cloud.dialogflow.cx.v3beta1.QueryResult.trace_blocks]
DETECT_INTENT_RESPONSE_VIEW_DEFAULT = 3;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<DetectIntentResponseView> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static DetectIntentResponseView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-