function FileOptions::setJavaGenerateEqualsAndHash
This option does nothing.
Generated from protobuf field <code>optional bool java_generate_equals_and_hash = 20 [deprecated = true];</code>
Parameters
bool $var:
Return value
$this
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ FileOptions.php, line 444
Class
- FileOptions
- Generated from protobuf message <code>google.protobuf.FileOptions</code>
Namespace
Google\Protobuf\InternalCode
public function setJavaGenerateEqualsAndHash($var) {
@trigger_error('java_generate_equals_and_hash is deprecated.', E_USER_DEPRECATED);
GPBUtil::checkBool($var);
$this->java_generate_equals_and_hash = $var;
return $this;
}