Enum DistanceBucketEnum.DistanceBucket
- java.lang.Object
-
- java.lang.Enum<DistanceBucketEnum.DistanceBucket>
-
- com.google.ads.googleads.v10.enums.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 enumgoogle.ads.googleads.v10.enums.DistanceBucketEnum.DistanceBucket
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEYOND_40MILESUser was beyond 40 miles of the location.BEYOND_65KMUser was beyond 65KM of the location.UNKNOWNUsed for return value only.UNRECOGNIZEDUNSPECIFIEDNot specified.WITHIN_0_7MILESUser was within 0.7 miles of the location.WITHIN_10KMUser was within 10KM of the location.WITHIN_10MILESUser was within 10 miles of the location.WITHIN_15KMUser was within 15KM of the location.WITHIN_15MILESUser was within 15 miles of the location.WITHIN_1KMUser was within 1KM of the location.WITHIN_1MILEUser was within 1 mile of the location.WITHIN_20KMUser was within 20KM of the location.WITHIN_20MILESUser was within 20 miles of the location.WITHIN_25KMUser was within 25KM of the location.WITHIN_25MILESUser was within 25 miles of the location.WITHIN_30KMUser was within 30KM of the location.WITHIN_30MILESUser was within 30 miles of the location.WITHIN_35KMUser was within 35KM of the location.WITHIN_35MILESUser was within 35 miles of the location.WITHIN_40KMUser was within 40KM of the location.WITHIN_40MILESUser was within 40 miles of the location.WITHIN_45KMUser was within 45KM of the location.WITHIN_50KMUser was within 50KM of the location.WITHIN_55KMUser was within 55KM of the location.WITHIN_5KMUser was within 5KM of the location.WITHIN_5MILESUser was within 5 miles of the location.WITHIN_60KMUser was within 60KM of the location.WITHIN_65KMUser was within 65KM of the location.WITHIN_700MUser was within 700m of the location.
-
Field Summary
Fields Modifier and Type Field Description static intBEYOND_40MILES_VALUEUser was beyond 40 miles of the location.static intBEYOND_65KM_VALUEUser was beyond 65KM of the location.static intUNKNOWN_VALUEUsed for return value only.static intUNSPECIFIED_VALUENot specified.static intWITHIN_0_7MILES_VALUEUser was within 0.7 miles of the location.static intWITHIN_10KM_VALUEUser was within 10KM of the location.static intWITHIN_10MILES_VALUEUser was within 10 miles of the location.static intWITHIN_15KM_VALUEUser was within 15KM of the location.static intWITHIN_15MILES_VALUEUser was within 15 miles of the location.static intWITHIN_1KM_VALUEUser was within 1KM of the location.static intWITHIN_1MILE_VALUEUser was within 1 mile of the location.static intWITHIN_20KM_VALUEUser was within 20KM of the location.static intWITHIN_20MILES_VALUEUser was within 20 miles of the location.static intWITHIN_25KM_VALUEUser was within 25KM of the location.static intWITHIN_25MILES_VALUEUser was within 25 miles of the location.static intWITHIN_30KM_VALUEUser was within 30KM of the location.static intWITHIN_30MILES_VALUEUser was within 30 miles of the location.static intWITHIN_35KM_VALUEUser was within 35KM of the location.static intWITHIN_35MILES_VALUEUser was within 35 miles of the location.static intWITHIN_40KM_VALUEUser was within 40KM of the location.static intWITHIN_40MILES_VALUEUser was within 40 miles of the location.static intWITHIN_45KM_VALUEUser was within 45KM of the location.static intWITHIN_50KM_VALUEUser was within 50KM of the location.static intWITHIN_55KM_VALUEUser was within 55KM of the location.static intWITHIN_5KM_VALUEUser was within 5KM of the location.static intWITHIN_5MILES_VALUEUser was within 5 miles of the location.static intWITHIN_60KM_VALUEUser was within 60KM of the location.static intWITHIN_65KM_VALUEUser was within 65KM of the location.static intWITHIN_700M_VALUEUser was within 700m of the location.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DistanceBucketEnum.DistanceBucketforNumber(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<DistanceBucketEnum.DistanceBucket>internalGetValueMap()static DistanceBucketEnum.DistanceBucketvalueOf(int value)Deprecated.static DistanceBucketEnum.DistanceBucketvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static DistanceBucketEnum.DistanceBucketvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DistanceBucketEnum.DistanceBucket[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final DistanceBucketEnum.DistanceBucket UNSPECIFIED
Not specified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final DistanceBucketEnum.DistanceBucket UNKNOWN
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1;
-
WITHIN_700M
public static final DistanceBucketEnum.DistanceBucket WITHIN_700M
User was within 700m of the location.
WITHIN_700M = 2;
-
WITHIN_1KM
public static final DistanceBucketEnum.DistanceBucket WITHIN_1KM
User was within 1KM of the location.
WITHIN_1KM = 3;
-
WITHIN_5KM
public static final DistanceBucketEnum.DistanceBucket WITHIN_5KM
User was within 5KM of the location.
WITHIN_5KM = 4;
-
WITHIN_10KM
public static final DistanceBucketEnum.DistanceBucket WITHIN_10KM
User was within 10KM of the location.
WITHIN_10KM = 5;
-
WITHIN_15KM
public static final DistanceBucketEnum.DistanceBucket WITHIN_15KM
User was within 15KM of the location.
WITHIN_15KM = 6;
-
WITHIN_20KM
public static final DistanceBucketEnum.DistanceBucket WITHIN_20KM
User was within 20KM of the location.
WITHIN_20KM = 7;
-
WITHIN_25KM
public static final DistanceBucketEnum.DistanceBucket WITHIN_25KM
User was within 25KM of the location.
WITHIN_25KM = 8;
-
WITHIN_30KM
public static final DistanceBucketEnum.DistanceBucket WITHIN_30KM
User was within 30KM of the location.
WITHIN_30KM = 9;
-
WITHIN_35KM
public static final DistanceBucketEnum.DistanceBucket WITHIN_35KM
User was within 35KM of the location.
WITHIN_35KM = 10;
-
WITHIN_40KM
public static final DistanceBucketEnum.DistanceBucket WITHIN_40KM
User was within 40KM of the location.
WITHIN_40KM = 11;
-
WITHIN_45KM
public static final DistanceBucketEnum.DistanceBucket WITHIN_45KM
User was within 45KM of the location.
WITHIN_45KM = 12;
-
WITHIN_50KM
public static final DistanceBucketEnum.DistanceBucket WITHIN_50KM
User was within 50KM of the location.
WITHIN_50KM = 13;
-
WITHIN_55KM
public static final DistanceBucketEnum.DistanceBucket WITHIN_55KM
User was within 55KM of the location.
WITHIN_55KM = 14;
-
WITHIN_60KM
public static final DistanceBucketEnum.DistanceBucket WITHIN_60KM
User was within 60KM of the location.
WITHIN_60KM = 15;
-
WITHIN_65KM
public static final DistanceBucketEnum.DistanceBucket WITHIN_65KM
User was within 65KM of the location.
WITHIN_65KM = 16;
-
BEYOND_65KM
public static final DistanceBucketEnum.DistanceBucket BEYOND_65KM
User was beyond 65KM of the location.
BEYOND_65KM = 17;
-
WITHIN_0_7MILES
public static final DistanceBucketEnum.DistanceBucket WITHIN_0_7MILES
User was within 0.7 miles of the location.
WITHIN_0_7MILES = 18;
-
WITHIN_1MILE
public static final DistanceBucketEnum.DistanceBucket WITHIN_1MILE
User was within 1 mile of the location.
WITHIN_1MILE = 19;
-
WITHIN_5MILES
public static final DistanceBucketEnum.DistanceBucket WITHIN_5MILES
User was within 5 miles of the location.
WITHIN_5MILES = 20;
-
WITHIN_10MILES
public static final DistanceBucketEnum.DistanceBucket WITHIN_10MILES
User was within 10 miles of the location.
WITHIN_10MILES = 21;
-
WITHIN_15MILES
public static final DistanceBucketEnum.DistanceBucket WITHIN_15MILES
User was within 15 miles of the location.
WITHIN_15MILES = 22;
-
WITHIN_20MILES
public static final DistanceBucketEnum.DistanceBucket WITHIN_20MILES
User was within 20 miles of the location.
WITHIN_20MILES = 23;
-
WITHIN_25MILES
public static final DistanceBucketEnum.DistanceBucket WITHIN_25MILES
User was within 25 miles of the location.
WITHIN_25MILES = 24;
-
WITHIN_30MILES
public static final DistanceBucketEnum.DistanceBucket WITHIN_30MILES
User was within 30 miles of the location.
WITHIN_30MILES = 25;
-
WITHIN_35MILES
public static final DistanceBucketEnum.DistanceBucket WITHIN_35MILES
User was within 35 miles of the location.
WITHIN_35MILES = 26;
-
WITHIN_40MILES
public static final DistanceBucketEnum.DistanceBucket WITHIN_40MILES
User was within 40 miles of the location.
WITHIN_40MILES = 27;
-
BEYOND_40MILES
public static final DistanceBucketEnum.DistanceBucket BEYOND_40MILES
User was beyond 40 miles of the location.
BEYOND_40MILES = 28;
-
UNRECOGNIZED
public static final DistanceBucketEnum.DistanceBucket UNRECOGNIZED
-
-
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 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 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 namejava.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.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<DistanceBucketEnum.DistanceBucket> 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 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 namejava.lang.NullPointerException- if the argument is null
-
-