Enum Class DateErrorEnum.DateError

java.lang.Object
java.lang.Enum<DateErrorEnum.DateError>
com.google.ads.googleads.v18.errors.DateErrorEnum.DateError
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<DateErrorEnum.DateError>, Constable
Enclosing class:
DateErrorEnum

public static enum DateErrorEnum.DateError extends Enum<DateErrorEnum.DateError> implements com.google.protobuf.ProtocolMessageEnum
 Enum describing possible date errors.
 
Protobuf enum google.ads.googleads.v18.errors.DateErrorEnum.DateError
  • Enum Constant Details

    • UNSPECIFIED

      public static final DateErrorEnum.DateError UNSPECIFIED
       Enum unspecified.
       
      UNSPECIFIED = 0;
    • UNKNOWN

      public static final DateErrorEnum.DateError UNKNOWN
       The received error code is not known in this version.
       
      UNKNOWN = 1;
    • INVALID_FIELD_VALUES_IN_DATE

      public static final DateErrorEnum.DateError INVALID_FIELD_VALUES_IN_DATE
       Given field values do not correspond to a valid date.
       
      INVALID_FIELD_VALUES_IN_DATE = 2;
    • INVALID_FIELD_VALUES_IN_DATE_TIME

      public static final DateErrorEnum.DateError INVALID_FIELD_VALUES_IN_DATE_TIME
       Given field values do not correspond to a valid date time.
       
      INVALID_FIELD_VALUES_IN_DATE_TIME = 3;
    • INVALID_STRING_DATE

      public static final DateErrorEnum.DateError INVALID_STRING_DATE
       The string date's format should be yyyy-mm-dd.
       
      INVALID_STRING_DATE = 4;
    • INVALID_STRING_DATE_TIME_MICROS

      public static final DateErrorEnum.DateError INVALID_STRING_DATE_TIME_MICROS
       The string date time's format should be yyyy-mm-dd hh:mm:ss.ssssss.
       
      INVALID_STRING_DATE_TIME_MICROS = 6;
    • INVALID_STRING_DATE_TIME_SECONDS

      public static final DateErrorEnum.DateError INVALID_STRING_DATE_TIME_SECONDS
       The string date time's format should be yyyy-mm-dd hh:mm:ss.
       
      INVALID_STRING_DATE_TIME_SECONDS = 11;
    • INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET

      public static final DateErrorEnum.DateError INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET
       The string date time's format should be yyyy-mm-dd hh:mm:ss+|-hh:mm.
       
      INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET = 12;
    • EARLIER_THAN_MINIMUM_DATE

      public static final DateErrorEnum.DateError EARLIER_THAN_MINIMUM_DATE
       Date is before allowed minimum.
       
      EARLIER_THAN_MINIMUM_DATE = 7;
    • LATER_THAN_MAXIMUM_DATE

      public static final DateErrorEnum.DateError LATER_THAN_MAXIMUM_DATE
       Date is after allowed maximum.
       
      LATER_THAN_MAXIMUM_DATE = 8;
    • DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE

      public static final DateErrorEnum.DateError DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE
       Date range bounds are not in order.
       
      DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE = 9;
    • DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL

      public static final DateErrorEnum.DateError DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL
       Both dates in range are null.
       
      DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL = 10;
    • UNRECOGNIZED

      public static final DateErrorEnum.DateError UNRECOGNIZED
  • Field Details

    • UNSPECIFIED_VALUE

      public static final int UNSPECIFIED_VALUE
       Enum unspecified.
       
      UNSPECIFIED = 0;
      See Also:
    • UNKNOWN_VALUE

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

      public static final int INVALID_FIELD_VALUES_IN_DATE_VALUE
       Given field values do not correspond to a valid date.
       
      INVALID_FIELD_VALUES_IN_DATE = 2;
      See Also:
    • INVALID_FIELD_VALUES_IN_DATE_TIME_VALUE

      public static final int INVALID_FIELD_VALUES_IN_DATE_TIME_VALUE
       Given field values do not correspond to a valid date time.
       
      INVALID_FIELD_VALUES_IN_DATE_TIME = 3;
      See Also:
    • INVALID_STRING_DATE_VALUE

      public static final int INVALID_STRING_DATE_VALUE
       The string date's format should be yyyy-mm-dd.
       
      INVALID_STRING_DATE = 4;
      See Also:
    • INVALID_STRING_DATE_TIME_MICROS_VALUE

      public static final int INVALID_STRING_DATE_TIME_MICROS_VALUE
       The string date time's format should be yyyy-mm-dd hh:mm:ss.ssssss.
       
      INVALID_STRING_DATE_TIME_MICROS = 6;
      See Also:
    • INVALID_STRING_DATE_TIME_SECONDS_VALUE

      public static final int INVALID_STRING_DATE_TIME_SECONDS_VALUE
       The string date time's format should be yyyy-mm-dd hh:mm:ss.
       
      INVALID_STRING_DATE_TIME_SECONDS = 11;
      See Also:
    • INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET_VALUE

      public static final int INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET_VALUE
       The string date time's format should be yyyy-mm-dd hh:mm:ss+|-hh:mm.
       
      INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET = 12;
      See Also:
    • EARLIER_THAN_MINIMUM_DATE_VALUE

      public static final int EARLIER_THAN_MINIMUM_DATE_VALUE
       Date is before allowed minimum.
       
      EARLIER_THAN_MINIMUM_DATE = 7;
      See Also:
    • LATER_THAN_MAXIMUM_DATE_VALUE

      public static final int LATER_THAN_MAXIMUM_DATE_VALUE
       Date is after allowed maximum.
       
      LATER_THAN_MAXIMUM_DATE = 8;
      See Also:
    • DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE_VALUE

      public static final int DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE_VALUE
       Date range bounds are not in order.
       
      DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE = 9;
      See Also:
    • DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL_VALUE

      public static final int DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL_VALUE
       Both dates in range are null.
       
      DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL = 10;
      See Also:
  • Method Details

    • values

      public static DateErrorEnum.DateError[] 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

      public static DateErrorEnum.DateError valueOf(String name)
      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 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 DateErrorEnum.DateError valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static DateErrorEnum.DateError 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<DateErrorEnum.DateError> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static DateErrorEnum.DateError 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 name
      NullPointerException - if the argument is null