function MethodOptions::setIdempotencyLevel
Generated from protobuf field <code>optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];</code>
Parameters
int $var:
Return value
$this
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ MethodOptions.php, line 125
Class
- MethodOptions
- Generated from protobuf message <code>google.protobuf.MethodOptions</code>
Namespace
Google\Protobuf\InternalCode
public function setIdempotencyLevel($var) {
GPBUtil::checkEnum($var, \Google\Protobuf\Internal\MethodOptions\IdempotencyLevel::class);
$this->idempotency_level = $var;
return $this;
}