Uses of Class
com.google.protobuf.Value
-
Packages that use Value Package Description com.google.protobuf com.google.protobuf.util -
-
Uses of Value in com.google.protobuf
Methods in com.google.protobuf that return Value Modifier and Type Method Description Value
Value.Builder. build()
Value
Value.Builder. buildPartial()
static Value
Value. getDefaultInstance()
Value
Value.Builder. getDefaultInstanceForType()
Value
Value. getDefaultInstanceForType()
Value
Struct.Builder. getFieldsOrDefault(java.lang.String key, Value defaultValue)
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
Value
Struct. getFieldsOrDefault(java.lang.String key, Value defaultValue)
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
Value
StructOrBuilder. getFieldsOrDefault(java.lang.String key, Value defaultValue)
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
Value
Struct.Builder. getFieldsOrThrow(java.lang.String key)
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
Value
Struct. getFieldsOrThrow(java.lang.String key)
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
Value
StructOrBuilder. getFieldsOrThrow(java.lang.String key)
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
Value
ListValue.Builder. getValues(int index)
repeated .google.protobuf.Value values = 1 [json_name = "values"];
Value
ListValue. getValues(int index)
repeated .google.protobuf.Value values = 1 [json_name = "values"];
Value
ListValueOrBuilder. getValues(int index)
repeated .google.protobuf.Value values = 1 [json_name = "values"];
static Value
Value. parseDelimitedFrom(java.io.InputStream input)
static Value
Value. parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry)
static Value
Value. parseFrom(byte[] data)
static Value
Value. parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
static Value
Value. parseFrom(ByteString data)
static Value
Value. parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static Value
Value. parseFrom(CodedInputStream input)
static Value
Value. parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
static Value
Value. parseFrom(java.io.InputStream input)
static Value
Value. parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry)
static Value
Value. parseFrom(java.nio.ByteBuffer data)
static Value
Value. parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Methods in com.google.protobuf that return types with arguments of type Value Modifier and Type Method Description java.util.Map<java.lang.String,Value>
Struct.Builder. getFields()
Deprecated.java.util.Map<java.lang.String,Value>
Struct. getFields()
Deprecated.java.util.Map<java.lang.String,Value>
StructOrBuilder. getFields()
Deprecated.java.util.Map<java.lang.String,Value>
Struct.Builder. getFieldsMap()
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
java.util.Map<java.lang.String,Value>
Struct. getFieldsMap()
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
java.util.Map<java.lang.String,Value>
StructOrBuilder. getFieldsMap()
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
java.util.Map<java.lang.String,Value>
Struct.Builder. getMutableFields()
Deprecated.Parser<Value>
Value. getParserForType()
java.util.List<Value>
ListValue.Builder. getValuesList()
repeated .google.protobuf.Value values = 1 [json_name = "values"];
java.util.List<Value>
ListValue. getValuesList()
repeated .google.protobuf.Value values = 1 [json_name = "values"];
java.util.List<Value>
ListValueOrBuilder. getValuesList()
repeated .google.protobuf.Value values = 1 [json_name = "values"];
static Parser<Value>
Value. parser()
Methods in com.google.protobuf with parameters of type Value Modifier and Type Method Description ListValue.Builder
ListValue.Builder. addValues(int index, Value value)
repeated .google.protobuf.Value values = 1 [json_name = "values"];
ListValue.Builder
ListValue.Builder. addValues(Value value)
repeated .google.protobuf.Value values = 1 [json_name = "values"];
Value
Struct.Builder. getFieldsOrDefault(java.lang.String key, Value defaultValue)
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
Value
Struct. getFieldsOrDefault(java.lang.String key, Value defaultValue)
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
Value
StructOrBuilder. getFieldsOrDefault(java.lang.String key, Value defaultValue)
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
Value.Builder
Value.Builder. mergeFrom(Value other)
static Value.Builder
Value. newBuilder(Value prototype)
Struct.Builder
Struct.Builder. putFields(java.lang.String key, Value value)
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
ListValue.Builder
ListValue.Builder. setValues(int index, Value value)
repeated .google.protobuf.Value values = 1 [json_name = "values"];
Method parameters in com.google.protobuf with type arguments of type Value Modifier and Type Method Description ListValue.Builder
ListValue.Builder. addAllValues(java.lang.Iterable<? extends Value> values)
repeated .google.protobuf.Value values = 1 [json_name = "values"];
Struct.Builder
Struct.Builder. putAllFields(java.util.Map<java.lang.String,Value> values)
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
-
Uses of Value in com.google.protobuf.util
Methods in com.google.protobuf.util that return Value Modifier and Type Method Description static Value
Values. of(boolean value)
Returns a Value object with number set to value.static Value
Values. of(double value)
Returns a Value object with number set to value.static Value
Values. of(ListValue value)
Returns a Value with ListValue set to value.static Value
Values. of(Struct value)
Returns a Value object with struct set to value.static Value
Values. of(java.lang.Iterable<Value> values)
Returns a Value with ListValue set to the appending the result of callingValues.of(boolean)
on each element in the iterable.static Value
Values. of(java.lang.String value)
Returns a Value object with string set to value.static Value
Values. ofNull()
Methods in com.google.protobuf.util with parameters of type Value Modifier and Type Method Description static Struct
Structs. of(java.lang.String k1, Value v1)
Returns a struct containing the key-value pair.static Struct
Structs. of(java.lang.String k1, Value v1, java.lang.String k2, Value v2)
Returns a struct containing each of the key-value pairs.static Struct
Structs. of(java.lang.String k1, Value v1, java.lang.String k2, Value v2, java.lang.String k3, Value v3)
Returns a struct containing each of the key-value pairs.Method parameters in com.google.protobuf.util with type arguments of type Value Modifier and Type Method Description static Value
Values. of(java.lang.Iterable<Value> values)
Returns a Value with ListValue set to the appending the result of callingValues.of(boolean)
on each element in the iterable.
-