Send feedback
Class Values (3.19.4)
bookmark_border bookmark
Stay organized with collections
Save and categorize content based on your preferences.
public final class Values
Utilities to help create google.protobuf.Value
messages.
Inherited Members
Static Methods
of(boolean value)
public static Value of ( boolean value )
Returns a Value object with number set to value.
Parameter
Name
Description
value
boolean
Returns
Type
Description
Value
of(ListValue value)
public static Value of ( ListValue value )
Returns a Value with ListValue set to value.
Returns
Type
Description
Value
of(Struct value)
public static Value of ( Struct value )
Returns a Value object with struct set to value.
Parameter
Name
Description
value
Struct
Returns
Type
Description
Value
of(double value)
public static Value of ( double value )
Returns a Value object with number set to value.
Parameter
Name
Description
value
double
Returns
Type
Description
Value
of(Iterable<Value> values)
public static Value of ( Iterable<Value> values )
Returns a Value with ListValue set to the appending the result of calling #of on each
element in the iterable.
Returns
Type
Description
Value
of(String value)
public static Value of ( String value )
Returns a Value object with string set to value.
Parameter
Name
Description
value
String
Returns
Type
Description
Value
ofNull()
public static Value ofNull ()
Returns
Type
Description
Value
Send feedback
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 2025-02-14 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-14 UTC."],[],[]]