MCPcopy Create free account
hub / github.com/apple/coremltools / setDefaultValue

Method setDefaultValue

deps/protobuf/php/src/Google/Protobuf/Field.php:372–378  ·  view source on GitHub ↗

* The string value of the default value of this field. Proto2 syntax only. * * Generated from protobuf field string default_value = 11; * @param string $var * @return $this */

($var)

Source from the content-addressed store, hash-verified

370 * @return $this
371 */
372 public function setDefaultValue($var)
373 {
374 GPBUtil::checkString($var, True);
375 $this->default_value = $var;
376
377 return $this;
378 }
379
380}
381

Callers 2

testFieldMethod · 0.45

Calls 1

checkStringMethod · 0.80

Tested by 2

testFieldMethod · 0.36