Package com.google.protobuf.util
Class Values
java.lang.Object
com.google.protobuf.util.Values
Utilities to help create
google.protobuf.Value messages.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Valueof(boolean value) Returns a Value object with number set to value.static Valueof(double value) Returns a Value object with number set to value.static ValueReturns a Value with ListValue set to value.static ValueReturns a Value object with struct set to value.static ValueReturns a Value with ListValue set to the appending the result of callingof(boolean)on each element in the iterable.static ValueReturns a Value object with string set to value.static ValueofNull()
-
Field Details
-
NULL_VALUE
-
-
Constructor Details
-
Values
private Values()
-
-
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.
-