public final class Values
extends java.lang.Object
google.protobuf.Value
messages.Modifier and Type | Method and Description |
---|---|
static 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 |
of(java.lang.Iterable<Value> values)
Returns a Value with ListValue set to the appending the result of calling
of(boolean) on each
element in the iterable. |
static Value |
of(ListValue value)
Returns a Value with ListValue set to value.
|
static Value |
of(java.lang.String value)
Returns a Value object with string set to value.
|
static Value |
of(Struct value)
Returns a Value object with struct set to value.
|
static Value |
ofNull() |
public static Value ofNull()
public static Value of(boolean value)
public static Value of(double value)
public static Value of(java.lang.String value)
public static Value of(java.lang.Iterable<Value> values)
of(boolean)
on each
element in the iterable.