function Any::setValue
Must be a valid serialized protocol buffer of the above specified type.
Generated from protobuf field <code>bytes value = 2;</code>
Parameters
string $var:
Return value
$this
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Any.php, line 248
Class
- Any
- `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated…
Namespace
Google\ProtobufCode
public function setValue($var) {
GPBUtil::checkString($var, False);
$this->value = $var;
return $this;
}