Enum DistanceBucketEnum.DistanceBucket

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<DistanceBucketEnum.DistanceBucket>
    Enclosing class:
    DistanceBucketEnum

    public static enum DistanceBucketEnum.DistanceBucket
    extends java.lang.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.v10.enums.DistanceBucketEnum.DistanceBucket
    • Field Detail

      • UNSPECIFIED_VALUE

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public static final int BEYOND_65KM_VALUE
         User was beyond 65KM of the location.
         
        BEYOND_65KM = 17;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • WITHIN_1MILE_VALUE

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

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

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

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

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

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

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

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

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

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

      • values

        public static DistanceBucketEnum.DistanceBucket[] 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 (DistanceBucketEnum.DistanceBucket c : DistanceBucketEnum.DistanceBucket.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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