Enum Class SearchTermInsightErrorEnum.SearchTermInsightError
java.lang.Object
java.lang.Enum<SearchTermInsightErrorEnum.SearchTermInsightError>
com.google.ads.googleads.v18.errors.SearchTermInsightErrorEnum.SearchTermInsightError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SearchTermInsightErrorEnum.SearchTermInsightError>,Constable
- Enclosing class:
- SearchTermInsightErrorEnum
public static enum SearchTermInsightErrorEnum.SearchTermInsightError
extends Enum<SearchTermInsightErrorEnum.SearchTermInsightError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible search term insight errors.Protobuf enum
google.ads.googleads.v18.errors.SearchTermInsightErrorEnum.SearchTermInsightError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSearch term insights cannot be filtered by metrics when segmenting.Search term insights cannot have a LIMIT when segmenting.A selected field requires another field to be selected with it.A selected field/resource requires filtering by a single resource.Search term insights cannot be sorted when segmenting.Search term insights cannot have a summary row when segmenting.The received error code is not known in this version.Name unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intSearch term insights cannot be filtered by metrics when segmenting.static final intSearch term insights cannot have a LIMIT when segmenting.static final intA selected field requires another field to be selected with it.static final intA selected field/resource requires filtering by a single resource.static final intSearch term insights cannot be sorted when segmenting.static final intSearch term insights cannot have a summary row when segmenting.static final intThe received error code is not known in this version.static final intName unspecified. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<SearchTermInsightErrorEnum.SearchTermInsightError>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Name unspecified.
UNSPECIFIED = 0; -
UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1; -
FILTERING_NOT_ALLOWED_WITH_SEGMENTS
public static final SearchTermInsightErrorEnum.SearchTermInsightError FILTERING_NOT_ALLOWED_WITH_SEGMENTSSearch term insights cannot be filtered by metrics when segmenting.
FILTERING_NOT_ALLOWED_WITH_SEGMENTS = 2; -
LIMIT_NOT_ALLOWED_WITH_SEGMENTS
public static final SearchTermInsightErrorEnum.SearchTermInsightError LIMIT_NOT_ALLOWED_WITH_SEGMENTSSearch term insights cannot have a LIMIT when segmenting.
LIMIT_NOT_ALLOWED_WITH_SEGMENTS = 3; -
MISSING_FIELD_IN_SELECT_CLAUSE
public static final SearchTermInsightErrorEnum.SearchTermInsightError MISSING_FIELD_IN_SELECT_CLAUSEA selected field requires another field to be selected with it.
MISSING_FIELD_IN_SELECT_CLAUSE = 4; -
REQUIRES_FILTER_BY_SINGLE_RESOURCE
public static final SearchTermInsightErrorEnum.SearchTermInsightError REQUIRES_FILTER_BY_SINGLE_RESOURCEA selected field/resource requires filtering by a single resource.
REQUIRES_FILTER_BY_SINGLE_RESOURCE = 5; -
SORTING_NOT_ALLOWED_WITH_SEGMENTS
public static final SearchTermInsightErrorEnum.SearchTermInsightError SORTING_NOT_ALLOWED_WITH_SEGMENTSSearch term insights cannot be sorted when segmenting.
SORTING_NOT_ALLOWED_WITH_SEGMENTS = 6; -
SUMMARY_ROW_NOT_ALLOWED_WITH_SEGMENTS
public static final SearchTermInsightErrorEnum.SearchTermInsightError SUMMARY_ROW_NOT_ALLOWED_WITH_SEGMENTSSearch term insights cannot have a summary row when segmenting.
SUMMARY_ROW_NOT_ALLOWED_WITH_SEGMENTS = 7; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUEName unspecified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe received error code is not known in this version.
UNKNOWN = 1;- See Also:
-
FILTERING_NOT_ALLOWED_WITH_SEGMENTS_VALUE
public static final int FILTERING_NOT_ALLOWED_WITH_SEGMENTS_VALUESearch term insights cannot be filtered by metrics when segmenting.
FILTERING_NOT_ALLOWED_WITH_SEGMENTS = 2;- See Also:
-
LIMIT_NOT_ALLOWED_WITH_SEGMENTS_VALUE
public static final int LIMIT_NOT_ALLOWED_WITH_SEGMENTS_VALUESearch term insights cannot have a LIMIT when segmenting.
LIMIT_NOT_ALLOWED_WITH_SEGMENTS = 3;- See Also:
-
MISSING_FIELD_IN_SELECT_CLAUSE_VALUE
public static final int MISSING_FIELD_IN_SELECT_CLAUSE_VALUEA selected field requires another field to be selected with it.
MISSING_FIELD_IN_SELECT_CLAUSE = 4;- See Also:
-
REQUIRES_FILTER_BY_SINGLE_RESOURCE_VALUE
public static final int REQUIRES_FILTER_BY_SINGLE_RESOURCE_VALUEA selected field/resource requires filtering by a single resource.
REQUIRES_FILTER_BY_SINGLE_RESOURCE = 5;- See Also:
-
SORTING_NOT_ALLOWED_WITH_SEGMENTS_VALUE
public static final int SORTING_NOT_ALLOWED_WITH_SEGMENTS_VALUESearch term insights cannot be sorted when segmenting.
SORTING_NOT_ALLOWED_WITH_SEGMENTS = 6;- See Also:
-
SUMMARY_ROW_NOT_ALLOWED_WITH_SEGMENTS_VALUE
public static final int SUMMARY_ROW_NOT_ALLOWED_WITH_SEGMENTS_VALUESearch term insights cannot have a summary row when segmenting.
SUMMARY_ROW_NOT_ALLOWED_WITH_SEGMENTS = 7;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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<SearchTermInsightErrorEnum.SearchTermInsightError> 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 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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-