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

Method setNumber

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

* The field number. * * Generated from protobuf field int32 number = 3; * @param int $var * @return $this */

($var)

Source from the content-addressed store, hash-verified

184 * @return $this
185 */
186 public function setNumber($var)
187 {
188 GPBUtil::checkInt32($var);
189 $this->number = $var;
190
191 return $this;
192 }
193
194 /**
195 * The field name.

Calls 1

checkInt32Method · 0.80