Searched refs:setNumberValue (Results 1 – 8 of 8) sorted by relevance
55 assertThat(Values.of(100)).isEqualTo(Value.newBuilder().setNumberValue(100).build()); in testOfNumeric_ConstructsValue()56 assertThat(Values.of(1000L)).isEqualTo(Value.newBuilder().setNumberValue(1000).build()); in testOfNumeric_ConstructsValue()57 assertThat(Values.of(1000.23f)).isEqualTo(Value.newBuilder().setNumberValue(1000.23f).build()); in testOfNumeric_ConstructsValue()58 assertThat(Values.of(10000.23)).isEqualTo(Value.newBuilder().setNumberValue(10000.23).build()); in testOfNumeric_ConstructsValue()
820 structBuilder.putFields("number_value", Value.newBuilder().setNumberValue(1.25).build()); in testStruct()823 subStructBuilder.putFields("number_value", Value.newBuilder().setNumberValue(1234).build()); in testStruct()827 listBuilder.addValues(Value.newBuilder().setNumberValue(1.125).build()); in testStruct()856 listBuilder.addValues(Value.newBuilder().setNumberValue(31831.125).build()); in testStruct()1060 structBuilder.putFields("number", Value.newBuilder().setNumberValue(1.125).build()); in testAnyFields()1074 valueBuilder.setNumberValue(1); in testAnyFields()1106 Value numberValue = Value.newBuilder().setNumberValue(1.125).build(); in testAnyInMaps()
55 return Value.newBuilder().setNumberValue(value).build(); in of()
103 public function setNumberValue($var) function in Google\\Protobuf\\Value
171 $from->setNumberValue(1);
1007 $m->setNumberValue(1.5);1031 $sub->setNumberValue(1.5);1057 $sub->setNumberValue(1.5);
280 $m->setNumberValue(1.0);
1199 $this->setNumberValue($array);