Searched refs:setNumberValue (Results 1 – 10 of 10) 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()
809 structBuilder.putFields("number_value", Value.newBuilder().setNumberValue(1.25).build()); in testStruct()812 subStructBuilder.putFields("number_value", Value.newBuilder().setNumberValue(1234).build()); in testStruct()816 listBuilder.addValues(Value.newBuilder().setNumberValue(1.125).build()); in testStruct()845 listBuilder.addValues(Value.newBuilder().setNumberValue(31831.125).build()); in testStruct()1010 structBuilder.putFields("number", Value.newBuilder().setNumberValue(1.125).build()); in testAnyFields()1024 valueBuilder.setNumberValue(1); in testAnyFields()1056 Value numberValue = Value.newBuilder().setNumberValue(1.125).build(); in testAnyInMaps()
55 return Value.newBuilder().setNumberValue(value).build(); in of()
93 public function setNumberValue($var) function in Google\\Protobuf\\Value
164 $from->setNumberValue(1);
924 $m->setNumberValue(1.5);948 $sub->setNumberValue(1.5);974 $sub->setNumberValue(1.5);
279 $m->setNumberValue(1.0);
1133 $this->setNumberValue($array);
1409 PHP_METHOD(Value, setNumberValue);
2533 PHP_ME(Value, setNumberValue, NULL, ZEND_ACC_PUBLIC)