Enum ChangeEventErrorEnum.ChangeEventError
- java.lang.Object
-
- java.lang.Enum<ChangeEventErrorEnum.ChangeEventError>
-
- com.google.ads.googleads.v10.errors.ChangeEventErrorEnum.ChangeEventError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<ChangeEventErrorEnum.ChangeEventError>
- Enclosing class:
- ChangeEventErrorEnum
public static enum ChangeEventErrorEnum.ChangeEventError extends java.lang.Enum<ChangeEventErrorEnum.ChangeEventError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible change event errors.
Protobuf enumgoogle.ads.googleads.v10.errors.ChangeEventErrorEnum.ChangeEventError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHANGE_DATE_RANGE_INFINITEThe change_event search request must specify a finite range filter on change_date_time.CHANGE_DATE_RANGE_NEGATIVEThe change event search request has specified invalid date time filters that can never logically produce any valid results (for example, start time after end time).INVALID_LIMIT_CLAUSEThe LIMIT specified by change_event request should be less than or equal to 10K.LIMIT_NOT_SPECIFIEDThe change_event search request must specify a LIMIT.START_DATE_TOO_OLDThe requested start date is too old.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intCHANGE_DATE_RANGE_INFINITE_VALUEThe change_event search request must specify a finite range filter on change_date_time.static intCHANGE_DATE_RANGE_NEGATIVE_VALUEThe change event search request has specified invalid date time filters that can never logically produce any valid results (for example, start time after end time).static intINVALID_LIMIT_CLAUSE_VALUEThe LIMIT specified by change_event request should be less than or equal to 10K.static intLIMIT_NOT_SPECIFIED_VALUEThe change_event search request must specify a LIMIT.static intSTART_DATE_TOO_OLD_VALUEThe requested start date is too old.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ChangeEventErrorEnum.ChangeEventErrorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ChangeEventErrorEnum.ChangeEventError>internalGetValueMap()static ChangeEventErrorEnum.ChangeEventErrorvalueOf(int value)Deprecated.static ChangeEventErrorEnum.ChangeEventErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ChangeEventErrorEnum.ChangeEventErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ChangeEventErrorEnum.ChangeEventError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final ChangeEventErrorEnum.ChangeEventError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final ChangeEventErrorEnum.ChangeEventError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
START_DATE_TOO_OLD
public static final ChangeEventErrorEnum.ChangeEventError START_DATE_TOO_OLD
The requested start date is too old. It cannot be older than 30 days.
START_DATE_TOO_OLD = 2;
-
CHANGE_DATE_RANGE_INFINITE
public static final ChangeEventErrorEnum.ChangeEventError CHANGE_DATE_RANGE_INFINITE
The change_event search request must specify a finite range filter on change_date_time.
CHANGE_DATE_RANGE_INFINITE = 3;
-
CHANGE_DATE_RANGE_NEGATIVE
public static final ChangeEventErrorEnum.ChangeEventError CHANGE_DATE_RANGE_NEGATIVE
The change event search request has specified invalid date time filters that can never logically produce any valid results (for example, start time after end time).
CHANGE_DATE_RANGE_NEGATIVE = 4;
-
LIMIT_NOT_SPECIFIED
public static final ChangeEventErrorEnum.ChangeEventError LIMIT_NOT_SPECIFIED
The change_event search request must specify a LIMIT.
LIMIT_NOT_SPECIFIED = 5;
-
INVALID_LIMIT_CLAUSE
public static final ChangeEventErrorEnum.ChangeEventError INVALID_LIMIT_CLAUSE
The LIMIT specified by change_event request should be less than or equal to 10K.
INVALID_LIMIT_CLAUSE = 6;
-
UNRECOGNIZED
public static final ChangeEventErrorEnum.ChangeEventError UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Enum 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
-
START_DATE_TOO_OLD_VALUE
public static final int START_DATE_TOO_OLD_VALUE
The requested start date is too old. It cannot be older than 30 days.
START_DATE_TOO_OLD = 2;- See Also:
- Constant Field Values
-
CHANGE_DATE_RANGE_INFINITE_VALUE
public static final int CHANGE_DATE_RANGE_INFINITE_VALUE
The change_event search request must specify a finite range filter on change_date_time.
CHANGE_DATE_RANGE_INFINITE = 3;- See Also:
- Constant Field Values
-
CHANGE_DATE_RANGE_NEGATIVE_VALUE
public static final int CHANGE_DATE_RANGE_NEGATIVE_VALUE
The change event search request has specified invalid date time filters that can never logically produce any valid results (for example, start time after end time).
CHANGE_DATE_RANGE_NEGATIVE = 4;- See Also:
- Constant Field Values
-
LIMIT_NOT_SPECIFIED_VALUE
public static final int LIMIT_NOT_SPECIFIED_VALUE
The change_event search request must specify a LIMIT.
LIMIT_NOT_SPECIFIED = 5;- See Also:
- Constant Field Values
-
INVALID_LIMIT_CLAUSE_VALUE
public static final int INVALID_LIMIT_CLAUSE_VALUE
The LIMIT specified by change_event request should be less than or equal to 10K.
INVALID_LIMIT_CLAUSE = 6;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ChangeEventErrorEnum.ChangeEventError[] 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 (ChangeEventErrorEnum.ChangeEventError c : ChangeEventErrorEnum.ChangeEventError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChangeEventErrorEnum.ChangeEventError 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 namejava.lang.NullPointerException- 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 public static ChangeEventErrorEnum.ChangeEventError 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 namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static ChangeEventErrorEnum.ChangeEventError 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<ChangeEventErrorEnum.ChangeEventError> 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 ChangeEventErrorEnum.ChangeEventError 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 namejava.lang.NullPointerException- if the argument is null
-
-