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 ValueValue.Builder. build()ValueValue.Builder. buildPartial()static ValueValue. getDefaultInstance()ValueValue.Builder. getDefaultInstanceForType()ValueValue. getDefaultInstanceForType()ValueStruct.Builder. getFieldsOrDefault(java.lang.String key, Value defaultValue)map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];ValueStruct. getFieldsOrDefault(java.lang.String key, Value defaultValue)map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];ValueStructOrBuilder. getFieldsOrDefault(java.lang.String key, Value defaultValue)map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];ValueStruct.Builder. getFieldsOrThrow(java.lang.String key)map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];ValueStruct. getFieldsOrThrow(java.lang.String key)map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];ValueStructOrBuilder. getFieldsOrThrow(java.lang.String key)map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];ValueListValue.Builder. getValues(int index)repeated .google.protobuf.Value values = 1 [json_name = "values"];ValueListValue. getValues(int index)repeated .google.protobuf.Value values = 1 [json_name = "values"];ValueListValueOrBuilder. getValues(int index)repeated .google.protobuf.Value values = 1 [json_name = "values"];static ValueValue. parseDelimitedFrom(java.io.InputStream input)static ValueValue. parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ValueValue. parseFrom(byte[] data)static ValueValue. parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ValueValue. parseFrom(com.google.protobuf.ByteString data)static ValueValue. parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ValueValue. parseFrom(com.google.protobuf.CodedInputStream input)static ValueValue. parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ValueValue. parseFrom(java.io.InputStream input)static ValueValue. parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ValueValue. parseFrom(java.nio.ByteBuffer data)static ValueValue. parseFrom(java.nio.ByteBuffer data, com.google.protobuf.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.com.google.protobuf.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 com.google.protobuf.Parser<Value>Value. parser()Methods in com.google.protobuf with parameters of type Value Modifier and Type Method Description ListValue.BuilderListValue.Builder. addValues(int index, Value value)repeated .google.protobuf.Value values = 1 [json_name = "values"];ListValue.BuilderListValue.Builder. addValues(Value value)repeated .google.protobuf.Value values = 1 [json_name = "values"];ValueStruct.Builder. getFieldsOrDefault(java.lang.String key, Value defaultValue)map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];ValueStruct. getFieldsOrDefault(java.lang.String key, Value defaultValue)map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];ValueStructOrBuilder. getFieldsOrDefault(java.lang.String key, Value defaultValue)map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];Value.BuilderValue.Builder. mergeFrom(Value other)static Value.BuilderValue. newBuilder(Value prototype)Struct.BuilderStruct.Builder. putFields(java.lang.String key, Value value)map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];ListValue.BuilderListValue.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.BuilderListValue.Builder. addAllValues(java.lang.Iterable<? extends Value> values)repeated .google.protobuf.Value values = 1 [json_name = "values"];Struct.BuilderStruct.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 ValueValues. of(boolean value)Returns aValueobject with number set to value.static ValueValues. of(double value)Returns aValueobject with number set to value.static ValueValues. of(ListValue value)static ValueValues. of(Struct value)Returns aValueobject with struct set to value.static ValueValues. of(java.lang.Iterable<Value> values)Returns aValuewith aListValuewhose values are set to the result of callingValues.of(boolean)on each element in the iterable.static ValueValues. of(java.lang.String value)Returns aValueobject with string set to value.static ValueValues. of(java.util.Map<java.lang.String,Value> values)Returns aValuewith aStructwhose fields are set to the result of callingValues.of(boolean)on each value in the map, preserving keys.static ValueValues. ofNull()Methods in com.google.protobuf.util with parameters of type Value Modifier and Type Method Description static StructStructs. of(java.lang.String k1, Value v1)Returns a struct containing the key-value pair.static StructStructs. of(java.lang.String k1, Value v1, java.lang.String k2, Value v2)Returns a struct containing each of the key-value pairs.static StructStructs. 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 ValueValues. of(java.lang.Iterable<Value> values)Returns aValuewith aListValuewhose values are set to the result of callingValues.of(boolean)on each element in the iterable.static ValueValues. of(java.util.Map<java.lang.String,Value> values)Returns aValuewith aStructwhose fields are set to the result of callingValues.of(boolean)on each value in the map, preserving keys.
-