function Value::setListValue
Represents a repeated `Value`.
Generated from protobuf field <code>.google.protobuf.ListValue list_value = 6;</code>
Parameters
\Google\Protobuf\ListValue $var:
Return value
$this
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Value.php, line 227
Class
- Value
- `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an…
Namespace
Google\ProtobufCode
public function setListValue($var) {
GPBUtil::checkMessage($var, \Google\Protobuf\ListValue::class);
$this->writeOneof(6, $var);
return $this;
}