Enums | |
---|---|
UNIT_UNSPECIFIED
|
Unit unspecified. |
MILLIGRAM
|
Milligram. |
GRAM
|
Gram. |
KILOGRAM
|
Kilogram. |
OUNCE
|
Ounce. |
POUND
|
Pound. |
Unit
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThis documentation page defines the available units of mass for a certain feature or function.\u003c/p\u003e\n"],["\u003cp\u003eThe units of mass range from milligrams to pounds, offering flexibility in specifying weight.\u003c/p\u003e\n"],["\u003cp\u003eA default value of \u003ccode\u003eUNIT_UNSPECIFIED\u003c/code\u003e is used when no specific unit is provided.\u003c/p\u003e\n"]]],["The core content defines a set of units of mass measurement. These units, represented as enums, include `UNIT_UNSPECIFIED` (an undefined unit), `MILLIGRAM`, `GRAM`, `KILOGRAM`, `OUNCE`, and `POUND`. Each enum value corresponds to a specific unit of weight or mass, allowing for the representation and handling of different measurement scales.\n"],null,["# Unit\n\n| Enums ||\n|--------------------|-------------------|\n| `UNIT_UNSPECIFIED` | Unit unspecified. |\n| `MILLIGRAM` | Milligram. |\n| `GRAM` | Gram. |\n| `KILOGRAM` | Kilogram. |\n| `OUNCE` | Ounce. |\n| `POUND` | Pound. |"]]