Enum SearchTermInsightErrorEnum.SearchTermInsightError

    • Field Detail

      • UNSPECIFIED_VALUE

        public static final int UNSPECIFIED_VALUE
         Name unspecified.
         
        UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • UNKNOWN_VALUE

        public static final int UNKNOWN_VALUE
         The received error code is not known in this version.
         
        UNKNOWN = 1;
        See Also:
        Constant Field Values
      • FILTERING_NOT_ALLOWED_WITH_SEGMENTS_VALUE

        public static final int FILTERING_NOT_ALLOWED_WITH_SEGMENTS_VALUE
         Search term insights cannot be filtered by metrics when segmenting.
         
        FILTERING_NOT_ALLOWED_WITH_SEGMENTS = 2;
        See Also:
        Constant Field Values
      • LIMIT_NOT_ALLOWED_WITH_SEGMENTS_VALUE

        public static final int LIMIT_NOT_ALLOWED_WITH_SEGMENTS_VALUE
         Search term insights cannot have a LIMIT when segmenting.
         
        LIMIT_NOT_ALLOWED_WITH_SEGMENTS = 3;
        See Also:
        Constant Field Values
      • MISSING_FIELD_IN_SELECT_CLAUSE_VALUE

        public static final int MISSING_FIELD_IN_SELECT_CLAUSE_VALUE
         A selected field requires another field to be selected with it.
         
        MISSING_FIELD_IN_SELECT_CLAUSE = 4;
        See Also:
        Constant Field Values
      • REQUIRES_FILTER_BY_SINGLE_RESOURCE_VALUE

        public static final int REQUIRES_FILTER_BY_SINGLE_RESOURCE_VALUE
         A selected field/resource requires filtering by a single resource.
         
        REQUIRES_FILTER_BY_SINGLE_RESOURCE = 5;
        See Also:
        Constant Field Values
      • SORTING_NOT_ALLOWED_WITH_SEGMENTS_VALUE

        public static final int SORTING_NOT_ALLOWED_WITH_SEGMENTS_VALUE
         Search term insights cannot be sorted when segmenting.
         
        SORTING_NOT_ALLOWED_WITH_SEGMENTS = 6;
        See Also:
        Constant Field Values
      • SUMMARY_ROW_NOT_ALLOWED_WITH_SEGMENTS_VALUE

        public static final int SUMMARY_ROW_NOT_ALLOWED_WITH_SEGMENTS_VALUE
         Search term insights cannot have a summary row when segmenting.
         
        SUMMARY_ROW_NOT_ALLOWED_WITH_SEGMENTS = 7;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static SearchTermInsightErrorEnum.SearchTermInsightError[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SearchTermInsightErrorEnum.SearchTermInsightError c : SearchTermInsightErrorEnum.SearchTermInsightError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SearchTermInsightErrorEnum.SearchTermInsightError valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.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 SearchTermInsightErrorEnum.SearchTermInsightError 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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static SearchTermInsightErrorEnum.SearchTermInsightError 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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null