Value
Stay organized with collections
Save and categorize content based on your preferences.
A generic data container.
Fields |
Union field value
value . A value. value can be only one of the following: |
boolean_value
|
bool
A boolean.
|
int64_value
|
int64
An int64.
|
float_value
|
float
A float.
|
double_value
|
double
A double.
|
string_value
|
string
A string.
|
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-10-12 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-10-12 UTC."],[[["Represents a generic data container that can hold a single value of various types."],["The `value` field is a union field, meaning it can store one of several data types: boolean, int64, float, double, or string."],["Each data type within the `value` union is represented by a specific sub-field: `boolean_value`, `int64_value`, `float_value`, `double_value`, and `string_value`."]]],[]]