Package com.google.protobuf.util
Class Values
java.lang.Object
com.google.protobuf.util.Values
Utilities to help create
google.protobuf.Value
messages.-
Method Summary
Modifier and TypeMethodDescriptionstatic Value
of
(boolean value) Returns a Value object with number set to value.static Value
of
(double value) Returns a Value object with number set to value.static Value
Returns a Value with ListValue set to value.static Value
Returns a Value object with struct set to value.static Value
Returns a Value with ListValue set to the appending the result of callingof(boolean)
on each element in the iterable.static Value
Returns a Value object with string set to value.static Value
ofNull()
-
Method Details
-
ofNull
-
of
Returns a Value object with number set to value. -
of
Returns a Value object with number set to value. -
of
Returns a Value object with string set to value. -
of
Returns a Value object with struct set to value. -
of
Returns a Value with ListValue set to value. -
of
Returns a Value with ListValue set to the appending the result of callingof(boolean)
on each element in the iterable.
-