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 Details

    • DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED

      public static final DetectIntentResponseView 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

      public static final DetectIntentResponseView DETECT_INTENT_RESPONSE_VIEW_FULL
       Full response view includes all fields.
       
      DETECT_INTENT_RESPONSE_VIEW_FULL = 1;
    • DETECT_INTENT_RESPONSE_VIEW_BASIC

      public static final DetectIntentResponseView 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

      public static final DetectIntentResponseView 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

      public static final DetectIntentResponseView UNRECOGNIZED
  • Field Details

    • DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED_VALUE

      public static final int DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED_VALUE
       Not 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_VALUE
       Full 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_VALUE
       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;
      See Also:
    • DETECT_INTENT_RESPONSE_VIEW_DEFAULT_VALUE

      public static final int DETECT_INTENT_RESPONSE_VIEW_DEFAULT_VALUE
       Default 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

      public static DetectIntentResponseView[] 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

      public static DetectIntentResponseView valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static DetectIntentResponseView valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static DetectIntentResponseView forNumber(int value)
      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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null