Enum 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 enum google.maps.mapsplatformdatasets.v1alpha.Usage
    • 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 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 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 name
        NullPointerException - 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:
        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 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 name
        NullPointerException - if the argument is null