public function setJsonName($var)
    {
        GPBUtil::checkString($var, True);
        $this->json_name = $var;
        $this->has_json_name = true;

        return $this;
    }
public function setJsonName($var)
    {
        GPBUtil::checkString($var, True);
        $this->json_name = $var;
        $this->has_json_name = true;

        return $this;
    }
public function setJsonName ( $ var ) { GPBUtil :: checkString ( $ var , True ) ; $ this -> json_name = $ var ; $ this -> has_json_name = true ; return $ this ; }
JSON name of this field. The value is set by protocol compiler. If the
user has set a "json_name" option on this field, that option's value
will be used. Otherwise, it's deduced from the field's name by converting
it to camelCase.

Generated from protobuf field <code>optional string json_name = 10;</code>
@param string $var
@return $this
JSON name of this field . The value is set by protocol compiler . If the user has set a json_name option on this field that option s value will be used . Otherwise it s deduced from the field s name by converting it to camelCase .