public final class Values extends Object
google.protobuf.Value messages.| Modifier and Type | Method and Description |
|---|---|
static com.google.protobuf.Value |
of(boolean value)
Returns a Value object with number set to value.
|
static com.google.protobuf.Value |
of(double value)
Returns a Value object with number set to value.
|
static com.google.protobuf.Value |
of(Iterable<com.google.protobuf.Value> values)
Returns a Value with ListValue set to the appending the result of calling
of(boolean) on each
element in the iterable. |
static com.google.protobuf.Value |
of(com.google.protobuf.ListValue value)
Returns a Value with ListValue set to value.
|
static com.google.protobuf.Value |
of(String value)
Returns a Value object with string set to value.
|
static com.google.protobuf.Value |
of(com.google.protobuf.Struct value)
Returns a Value object with struct set to value.
|
static com.google.protobuf.Value |
ofNull() |
public static com.google.protobuf.Value ofNull()
public static com.google.protobuf.Value of(boolean value)
public static com.google.protobuf.Value of(double value)
public static com.google.protobuf.Value of(String value)
public static com.google.protobuf.Value of(com.google.protobuf.Struct value)
public static com.google.protobuf.Value of(com.google.protobuf.ListValue value)
public static com.google.protobuf.Value of(Iterable<com.google.protobuf.Value> values)
of(boolean) on each
element in the iterable.Copyright © 2008–2021. All rights reserved.