Enum SummarizationSection.Type

java.lang.Object
java.lang.Enum<SummarizationSection.Type>
com.google.cloud.dialogflow.v2.SummarizationSection.Type
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<SummarizationSection.Type>
Enclosing class:
SummarizationSection

public static enum SummarizationSection.Type extends Enum<SummarizationSection.Type> implements com.google.protobuf.ProtocolMessageEnum
 Type enum of the summarization sections.
 
Protobuf enum google.cloud.dialogflow.v2.SummarizationSection.Type
  • Enum Constant Details

    • TYPE_UNSPECIFIED

      public static final SummarizationSection.Type TYPE_UNSPECIFIED
       Undefined section type, does not return anything.
       
      TYPE_UNSPECIFIED = 0;
    • SITUATION

      public static final SummarizationSection.Type SITUATION
       What the customer needs help with or has question about.
       Section name: "situation".
       
      SITUATION = 1;
    • ACTION

      public static final SummarizationSection.Type ACTION
       What the agent does to help the customer.
       Section name: "action".
       
      ACTION = 2;
    • RESOLUTION

      public static final SummarizationSection.Type RESOLUTION
       Result of the customer service. A single word describing the result
       of the conversation.
       Section name: "resolution".
       
      RESOLUTION = 3;
    • REASON_FOR_CANCELLATION

      public static final SummarizationSection.Type REASON_FOR_CANCELLATION
       Reason for cancellation if the customer requests for a cancellation.
       "N/A" otherwise.
       Section name: "reason_for_cancellation".
       
      REASON_FOR_CANCELLATION = 4;
    • CUSTOMER_SATISFACTION

      public static final SummarizationSection.Type CUSTOMER_SATISFACTION
       "Unsatisfied" or "Satisfied" depending on the customer's feelings at
       the end of the conversation.
       Section name: "customer_satisfaction".
       
      CUSTOMER_SATISFACTION = 5;
    • ENTITIES

      public static final SummarizationSection.Type ENTITIES
       Key entities extracted from the conversation, such as ticket number,
       order number, dollar amount, etc.
       Section names are prefixed by "entities/".
       
      ENTITIES = 6;
    • CUSTOMER_DEFINED

      public static final SummarizationSection.Type CUSTOMER_DEFINED
       Customer defined sections.
       
      CUSTOMER_DEFINED = 7;
    • SITUATION_CONCISE

      public static final SummarizationSection.Type SITUATION_CONCISE
       Concise version of the situation section. This type is only available if
       type SITUATION is not selected.
       
      SITUATION_CONCISE = 9;
    • ACTION_CONCISE

      public static final SummarizationSection.Type ACTION_CONCISE
       Concise version of the action section. This type is only available if
       type ACTION is not selected.
       
      ACTION_CONCISE = 10;
    • UNRECOGNIZED

      public static final SummarizationSection.Type UNRECOGNIZED
  • Field Details

    • TYPE_UNSPECIFIED_VALUE

      public static final int TYPE_UNSPECIFIED_VALUE
       Undefined section type, does not return anything.
       
      TYPE_UNSPECIFIED = 0;
      See Also:
    • SITUATION_VALUE

      public static final int SITUATION_VALUE
       What the customer needs help with or has question about.
       Section name: "situation".
       
      SITUATION = 1;
      See Also:
    • ACTION_VALUE

      public static final int ACTION_VALUE
       What the agent does to help the customer.
       Section name: "action".
       
      ACTION = 2;
      See Also:
    • RESOLUTION_VALUE

      public static final int RESOLUTION_VALUE
       Result of the customer service. A single word describing the result
       of the conversation.
       Section name: "resolution".
       
      RESOLUTION = 3;
      See Also:
    • REASON_FOR_CANCELLATION_VALUE

      public static final int REASON_FOR_CANCELLATION_VALUE
       Reason for cancellation if the customer requests for a cancellation.
       "N/A" otherwise.
       Section name: "reason_for_cancellation".
       
      REASON_FOR_CANCELLATION = 4;
      See Also:
    • CUSTOMER_SATISFACTION_VALUE

      public static final int CUSTOMER_SATISFACTION_VALUE
       "Unsatisfied" or "Satisfied" depending on the customer's feelings at
       the end of the conversation.
       Section name: "customer_satisfaction".
       
      CUSTOMER_SATISFACTION = 5;
      See Also:
    • ENTITIES_VALUE

      public static final int ENTITIES_VALUE
       Key entities extracted from the conversation, such as ticket number,
       order number, dollar amount, etc.
       Section names are prefixed by "entities/".
       
      ENTITIES = 6;
      See Also:
    • CUSTOMER_DEFINED_VALUE

      public static final int CUSTOMER_DEFINED_VALUE
       Customer defined sections.
       
      CUSTOMER_DEFINED = 7;
      See Also:
    • SITUATION_CONCISE_VALUE

      public static final int SITUATION_CONCISE_VALUE
       Concise version of the situation section. This type is only available if
       type SITUATION is not selected.
       
      SITUATION_CONCISE = 9;
      See Also:
    • ACTION_CONCISE_VALUE

      public static final int ACTION_CONCISE_VALUE
       Concise version of the action section. This type is only available if
       type ACTION is not selected.
       
      ACTION_CONCISE = 10;
      See Also:
  • Method Details

    • values

      public static SummarizationSection.Type[] 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 SummarizationSection.Type 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 SummarizationSection.Type 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 SummarizationSection.Type 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<SummarizationSection.Type> 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 SummarizationSection.Type 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