Generate a pydantic.BaseModel with parameter verification function from the Python Message object(by the Protobuf file).