Enum Usage
- java.lang.Object
-
- java.lang.Enum<Usage>
-
- com.google.maps.mapsplatformdatasets.v1alpha.Usage
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Usage>
public enum Usage extends Enum<Usage> implements com.google.protobuf.ProtocolMessageEnum
Usage specifies where the data is intended to be used to inform how to process the data.
Protobuf enumgoogle.maps.mapsplatformdatasets.v1alpha.Usage
-
-
Enum Constant Summary
Enum Constants Enum Constant Description UNRECOGNIZEDUSAGE_AREA_AFFORDANCESThis dataset will be used for area affordances in routing.USAGE_ASSISTED_DRIVINGThis dataset will be used for assisted driving in routing.USAGE_DATA_DRIVEN_STYLINGThis dataset will be used for data driven styling.USAGE_UNSPECIFIEDThe usage of this dataset is not set.
-
Field Summary
Fields Modifier and Type Field Description static intUSAGE_AREA_AFFORDANCES_VALUEThis dataset will be used for area affordances in routing.static intUSAGE_ASSISTED_DRIVING_VALUEThis dataset will be used for assisted driving in routing.static intUSAGE_DATA_DRIVEN_STYLING_VALUEThis dataset will be used for data driven styling.static intUSAGE_UNSPECIFIED_VALUEThe usage of this dataset is not set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static UsageforNumber(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<Usage>internalGetValueMap()static UsagevalueOf(int value)Deprecated.static UsagevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static UsagevalueOf(String name)Returns the enum constant of this type with the specified name.static Usage[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USAGE_UNSPECIFIED
public static final Usage USAGE_UNSPECIFIED
The usage of this dataset is not set.
USAGE_UNSPECIFIED = 0;
-
USAGE_DATA_DRIVEN_STYLING
public static final Usage USAGE_DATA_DRIVEN_STYLING
This dataset will be used for data driven styling.
USAGE_DATA_DRIVEN_STYLING = 1;
-
USAGE_AREA_AFFORDANCES
public static final Usage USAGE_AREA_AFFORDANCES
This dataset will be used for area affordances in routing.
USAGE_AREA_AFFORDANCES = 2;
-
USAGE_ASSISTED_DRIVING
public static final Usage USAGE_ASSISTED_DRIVING
This dataset will be used for assisted driving in routing.
USAGE_ASSISTED_DRIVING = 3;
-
UNRECOGNIZED
public static final Usage UNRECOGNIZED
-
-
Field Detail
-
USAGE_UNSPECIFIED_VALUE
public static final int USAGE_UNSPECIFIED_VALUE
The usage of this dataset is not set.
USAGE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
USAGE_DATA_DRIVEN_STYLING_VALUE
public static final int USAGE_DATA_DRIVEN_STYLING_VALUE
This dataset will be used for data driven styling.
USAGE_DATA_DRIVEN_STYLING = 1;- See Also:
- Constant Field Values
-
USAGE_AREA_AFFORDANCES_VALUE
public static final int USAGE_AREA_AFFORDANCES_VALUE
This dataset will be used for area affordances in routing.
USAGE_AREA_AFFORDANCES = 2;- See Also:
- Constant Field Values
-
USAGE_ASSISTED_DRIVING_VALUE
public static final int USAGE_ASSISTED_DRIVING_VALUE
This dataset will be used for assisted driving in routing.
USAGE_ASSISTED_DRIVING = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Usage[] 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 (Usage c : Usage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Usage valueOf(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:
IllegalArgumentException- if this enum type 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 public static Usage 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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static Usage 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<Usage> 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 Usage 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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-