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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUser was beyond 40 miles of the location.User was beyond 65KM of the location.Used for return value only.Not specified.User was within 0.7 miles of the location.User was within 10KM of the location.User was within 10 miles of the location.User was within 15KM of the location.User was within 15 miles of the location.User was within 1KM of the location.User was within 1 mile of the location.User was within 20KM of the location.User was within 20 miles of the location.User was within 25KM of the location.User was within 25 miles of the location.User was within 30KM of the location.User was within 30 miles of the location.User was within 35KM of the location.User was within 35 miles of the location.User was within 40KM of the location.User was within 40 miles of the location.User was within 45KM of the location.User was within 50KM of the location.User was within 55KM of the location.User was within 5KM of the location.User was within 5 miles of the location.User was within 60KM of the location.User was within 65KM of the location.User was within 700m of the location. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intUser was beyond 40 miles of the location.static final intUser was beyond 65KM of the location.static final intUsed for return value only.static final intNot specified.static final intUser was within 0.7 miles of the location.static final intUser was within 10KM of the location.static final intUser was within 10 miles of the location.static final intUser was within 15KM of the location.static final intUser was within 15 miles of the location.static final intUser was within 1KM of the location.static final intUser was within 1 mile of the location.static final intUser was within 20KM of the location.static final intUser was within 20 miles of the location.static final intUser was within 25KM of the location.static final intUser was within 25 miles of the location.static final intUser was within 30KM of the location.static final intUser was within 30 miles of the location.static final intUser was within 35KM of the location.static final intUser was within 35 miles of the location.static final intUser was within 40KM of the location.static final intUser was within 40 miles of the location.static final intUser was within 45KM of the location.static final intUser was within 50KM of the location.static final intUser was within 55KM of the location.static final intUser was within 5KM of the location.static final intUser was within 5 miles of the location.static final intUser was within 60KM of the location.static final intUser was within 65KM of the location.static final intUser was within 700m of the location. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<DistanceBucketEnum.DistanceBucket>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static DistanceBucketEnum.DistanceBucket[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Not specified.
UNSPECIFIED = 0; -
UNKNOWN
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1; -
WITHIN_700M
User was within 700m of the location.
WITHIN_700M = 2; -
WITHIN_1KM
User was within 1KM of the location.
WITHIN_1KM = 3; -
WITHIN_5KM
User was within 5KM of the location.
WITHIN_5KM = 4; -
WITHIN_10KM
User was within 10KM of the location.
WITHIN_10KM = 5; -
WITHIN_15KM
User was within 15KM of the location.
WITHIN_15KM = 6; -
WITHIN_20KM
User was within 20KM of the location.
WITHIN_20KM = 7; -
WITHIN_25KM
User was within 25KM of the location.
WITHIN_25KM = 8; -
WITHIN_30KM
User was within 30KM of the location.
WITHIN_30KM = 9; -
WITHIN_35KM
User was within 35KM of the location.
WITHIN_35KM = 10; -
WITHIN_40KM
User was within 40KM of the location.
WITHIN_40KM = 11; -
WITHIN_45KM
User was within 45KM of the location.
WITHIN_45KM = 12; -
WITHIN_50KM
User was within 50KM of the location.
WITHIN_50KM = 13; -
WITHIN_55KM
User was within 55KM of the location.
WITHIN_55KM = 14; -
WITHIN_60KM
User was within 60KM of the location.
WITHIN_60KM = 15; -
WITHIN_65KM
User was within 65KM of the location.
WITHIN_65KM = 16; -
BEYOND_65KM
User was beyond 65KM of the location.
BEYOND_65KM = 17; -
WITHIN_0_7MILES
User was within 0.7 miles of the location.
WITHIN_0_7MILES = 18; -
WITHIN_1MILE
User was within 1 mile of the location.
WITHIN_1MILE = 19; -
WITHIN_5MILES
User was within 5 miles of the location.
WITHIN_5MILES = 20; -
WITHIN_10MILES
User was within 10 miles of the location.
WITHIN_10MILES = 21; -
WITHIN_15MILES
User was within 15 miles of the location.
WITHIN_15MILES = 22; -
WITHIN_20MILES
User was within 20 miles of the location.
WITHIN_20MILES = 23; -
WITHIN_25MILES
User was within 25 miles of the location.
WITHIN_25MILES = 24; -
WITHIN_30MILES
User was within 30 miles of the location.
WITHIN_30MILES = 25; -
WITHIN_35MILES
User was within 35 miles of the location.
WITHIN_35MILES = 26; -
WITHIN_40MILES
User was within 40 miles of the location.
WITHIN_40MILES = 27; -
BEYOND_40MILES
User was beyond 40 miles of the location.
BEYOND_40MILES = 28; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUENot specified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEUsed for return value only. Represents value unknown in this version.
UNKNOWN = 1;- See Also:
-
WITHIN_700M_VALUE
public static final int WITHIN_700M_VALUEUser was within 700m of the location.
WITHIN_700M = 2;- See Also:
-
WITHIN_1KM_VALUE
public static final int WITHIN_1KM_VALUEUser was within 1KM of the location.
WITHIN_1KM = 3;- See Also:
-
WITHIN_5KM_VALUE
public static final int WITHIN_5KM_VALUEUser was within 5KM of the location.
WITHIN_5KM = 4;- See Also:
-
WITHIN_10KM_VALUE
public static final int WITHIN_10KM_VALUEUser was within 10KM of the location.
WITHIN_10KM = 5;- See Also:
-
WITHIN_15KM_VALUE
public static final int WITHIN_15KM_VALUEUser was within 15KM of the location.
WITHIN_15KM = 6;- See Also:
-
WITHIN_20KM_VALUE
public static final int WITHIN_20KM_VALUEUser was within 20KM of the location.
WITHIN_20KM = 7;- See Also:
-
WITHIN_25KM_VALUE
public static final int WITHIN_25KM_VALUEUser was within 25KM of the location.
WITHIN_25KM = 8;- See Also:
-
WITHIN_30KM_VALUE
public static final int WITHIN_30KM_VALUEUser was within 30KM of the location.
WITHIN_30KM = 9;- See Also:
-
WITHIN_35KM_VALUE
public static final int WITHIN_35KM_VALUEUser was within 35KM of the location.
WITHIN_35KM = 10;- See Also:
-
WITHIN_40KM_VALUE
public static final int WITHIN_40KM_VALUEUser was within 40KM of the location.
WITHIN_40KM = 11;- See Also:
-
WITHIN_45KM_VALUE
public static final int WITHIN_45KM_VALUEUser was within 45KM of the location.
WITHIN_45KM = 12;- See Also:
-
WITHIN_50KM_VALUE
public static final int WITHIN_50KM_VALUEUser was within 50KM of the location.
WITHIN_50KM = 13;- See Also:
-
WITHIN_55KM_VALUE
public static final int WITHIN_55KM_VALUEUser was within 55KM of the location.
WITHIN_55KM = 14;- See Also:
-
WITHIN_60KM_VALUE
public static final int WITHIN_60KM_VALUEUser was within 60KM of the location.
WITHIN_60KM = 15;- See Also:
-
WITHIN_65KM_VALUE
public static final int WITHIN_65KM_VALUEUser was within 65KM of the location.
WITHIN_65KM = 16;- See Also:
-
BEYOND_65KM_VALUE
public static final int BEYOND_65KM_VALUEUser was beyond 65KM of the location.
BEYOND_65KM = 17;- See Also:
-
WITHIN_0_7MILES_VALUE
public static final int WITHIN_0_7MILES_VALUEUser was within 0.7 miles of the location.
WITHIN_0_7MILES = 18;- See Also:
-
WITHIN_1MILE_VALUE
public static final int WITHIN_1MILE_VALUEUser was within 1 mile of the location.
WITHIN_1MILE = 19;- See Also:
-
WITHIN_5MILES_VALUE
public static final int WITHIN_5MILES_VALUEUser was within 5 miles of the location.
WITHIN_5MILES = 20;- See Also:
-
WITHIN_10MILES_VALUE
public static final int WITHIN_10MILES_VALUEUser was within 10 miles of the location.
WITHIN_10MILES = 21;- See Also:
-
WITHIN_15MILES_VALUE
public static final int WITHIN_15MILES_VALUEUser was within 15 miles of the location.
WITHIN_15MILES = 22;- See Also:
-
WITHIN_20MILES_VALUE
public static final int WITHIN_20MILES_VALUEUser was within 20 miles of the location.
WITHIN_20MILES = 23;- See Also:
-
WITHIN_25MILES_VALUE
public static final int WITHIN_25MILES_VALUEUser was within 25 miles of the location.
WITHIN_25MILES = 24;- See Also:
-
WITHIN_30MILES_VALUE
public static final int WITHIN_30MILES_VALUEUser was within 30 miles of the location.
WITHIN_30MILES = 25;- See Also:
-
WITHIN_35MILES_VALUE
public static final int WITHIN_35MILES_VALUEUser was within 35 miles of the location.
WITHIN_35MILES = 26;- See Also:
-
WITHIN_40MILES_VALUE
public static final int WITHIN_40MILES_VALUEUser was within 40 miles of the location.
WITHIN_40MILES = 27;- See Also:
-
BEYOND_40MILES_VALUE
public static final int BEYOND_40MILES_VALUEUser was beyond 40 miles of the location.
BEYOND_40MILES = 28;- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- 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.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 nameNullPointerException- if the argument is null
-
forNumber
- 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 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 nameNullPointerException- if the argument is null
-