Enum Class DistanceBucketEnum.DistanceBucket

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

public static enum DistanceBucketEnum.DistanceBucket extends Enum<DistanceBucketEnum.DistanceBucket> implements com.google.protobuf.ProtocolMessageEnum
 The distance bucket for a user's distance from an advertiser's location
 extension.
 
Protobuf enum google.ads.googleads.v18.enums.DistanceBucketEnum.DistanceBucket
  • Enum Constant Details

  • Field Details

    • UNSPECIFIED_VALUE

      public static final int UNSPECIFIED_VALUE
       Not specified.
       
      UNSPECIFIED = 0;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       Used for return value only. Represents value unknown in this version.
       
      UNKNOWN = 1;
      See Also:
    • WITHIN_700M_VALUE

      public static final int WITHIN_700M_VALUE
       User was within 700m of the location.
       
      WITHIN_700M = 2;
      See Also:
    • WITHIN_1KM_VALUE

      public static final int WITHIN_1KM_VALUE
       User was within 1KM of the location.
       
      WITHIN_1KM = 3;
      See Also:
    • WITHIN_5KM_VALUE

      public static final int WITHIN_5KM_VALUE
       User was within 5KM of the location.
       
      WITHIN_5KM = 4;
      See Also:
    • WITHIN_10KM_VALUE

      public static final int WITHIN_10KM_VALUE
       User was within 10KM of the location.
       
      WITHIN_10KM = 5;
      See Also:
    • WITHIN_15KM_VALUE

      public static final int WITHIN_15KM_VALUE
       User was within 15KM of the location.
       
      WITHIN_15KM = 6;
      See Also:
    • WITHIN_20KM_VALUE

      public static final int WITHIN_20KM_VALUE
       User was within 20KM of the location.
       
      WITHIN_20KM = 7;
      See Also:
    • WITHIN_25KM_VALUE

      public static final int WITHIN_25KM_VALUE
       User was within 25KM of the location.
       
      WITHIN_25KM = 8;
      See Also:
    • WITHIN_30KM_VALUE

      public static final int WITHIN_30KM_VALUE
       User was within 30KM of the location.
       
      WITHIN_30KM = 9;
      See Also:
    • WITHIN_35KM_VALUE

      public static final int WITHIN_35KM_VALUE
       User was within 35KM of the location.
       
      WITHIN_35KM = 10;
      See Also:
    • WITHIN_40KM_VALUE

      public static final int WITHIN_40KM_VALUE
       User was within 40KM of the location.
       
      WITHIN_40KM = 11;
      See Also:
    • WITHIN_45KM_VALUE

      public static final int WITHIN_45KM_VALUE
       User was within 45KM of the location.
       
      WITHIN_45KM = 12;
      See Also:
    • WITHIN_50KM_VALUE

      public static final int WITHIN_50KM_VALUE
       User was within 50KM of the location.
       
      WITHIN_50KM = 13;
      See Also:
    • WITHIN_55KM_VALUE

      public static final int WITHIN_55KM_VALUE
       User was within 55KM of the location.
       
      WITHIN_55KM = 14;
      See Also:
    • WITHIN_60KM_VALUE

      public static final int WITHIN_60KM_VALUE
       User was within 60KM of the location.
       
      WITHIN_60KM = 15;
      See Also:
    • WITHIN_65KM_VALUE

      public static final int WITHIN_65KM_VALUE
       User was within 65KM of the location.
       
      WITHIN_65KM = 16;
      See Also:
    • BEYOND_65KM_VALUE

      public static final int BEYOND_65KM_VALUE
       User was beyond 65KM of the location.
       
      BEYOND_65KM = 17;
      See Also:
    • WITHIN_0_7MILES_VALUE

      public static final int WITHIN_0_7MILES_VALUE
       User was within 0.7 miles of the location.
       
      WITHIN_0_7MILES = 18;
      See Also:
    • WITHIN_1MILE_VALUE

      public static final int WITHIN_1MILE_VALUE
       User was within 1 mile of the location.
       
      WITHIN_1MILE = 19;
      See Also:
    • WITHIN_5MILES_VALUE

      public static final int WITHIN_5MILES_VALUE
       User was within 5 miles of the location.
       
      WITHIN_5MILES = 20;
      See Also:
    • WITHIN_10MILES_VALUE

      public static final int WITHIN_10MILES_VALUE
       User was within 10 miles of the location.
       
      WITHIN_10MILES = 21;
      See Also:
    • WITHIN_15MILES_VALUE

      public static final int WITHIN_15MILES_VALUE
       User was within 15 miles of the location.
       
      WITHIN_15MILES = 22;
      See Also:
    • WITHIN_20MILES_VALUE

      public static final int WITHIN_20MILES_VALUE
       User was within 20 miles of the location.
       
      WITHIN_20MILES = 23;
      See Also:
    • WITHIN_25MILES_VALUE

      public static final int WITHIN_25MILES_VALUE
       User was within 25 miles of the location.
       
      WITHIN_25MILES = 24;
      See Also:
    • WITHIN_30MILES_VALUE

      public static final int WITHIN_30MILES_VALUE
       User was within 30 miles of the location.
       
      WITHIN_30MILES = 25;
      See Also:
    • WITHIN_35MILES_VALUE

      public static final int WITHIN_35MILES_VALUE
       User was within 35 miles of the location.
       
      WITHIN_35MILES = 26;
      See Also:
    • WITHIN_40MILES_VALUE

      public static final int WITHIN_40MILES_VALUE
       User was within 40 miles of the location.
       
      WITHIN_40MILES = 27;
      See Also:
    • BEYOND_40MILES_VALUE

      public static final int BEYOND_40MILES_VALUE
       User was beyond 40 miles of the location.
       
      BEYOND_40MILES = 28;
      See Also:
  • Method Details

    • values

      public static DistanceBucketEnum.DistanceBucket[] 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 DistanceBucketEnum.DistanceBucket 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 DistanceBucketEnum.DistanceBucket 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 DistanceBucketEnum.DistanceBucket 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<DistanceBucketEnum.DistanceBucket> 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 DistanceBucketEnum.DistanceBucket 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