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 aValueobject with number set to value.static Valueof(double value) Returns aValueobject with number set to value.static Valuestatic ValueReturns aValueobject with struct set to value.static ValueReturns aValuewith aListValuewhose values are set to the result of callingof(boolean)on each element in the iterable.static ValueReturns aValueobject with string set to value.static ValueReturns aValuewith aStructwhose fields are set to the result of callingof(boolean)on each value in the map, preserving keys.static ValueofNull()
-
Field Details
-
NULL_VALUE
-
TRUE_VALUE
-
FALSE_VALUE
-
EMPTY_STR_VALUE
-
-
Constructor Details
-
Values
private Values()
-
-
Method Details
-
ofNull
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-